905968cf95d4c8608d6d9351b5dd10fe994a1220 |
|
17-Jul-2017 |
Pavel Maltsev <pavelm@google.com> |
Allow activities in instrument cluster - Added new CarInstrumentClusterManager to start activity in the cluster and subscribe to cluster specific events - Cluster vendor implementation (InstrumentClusterRenderingService) was extended, now it can notify Car Service with ActivityOptions that holds info how to launch activity in the cluster for specific category, also it can send additional info such as unobscured bounds (ClusterActivityState) - added DirectRenderingClusterSample which is an example of vendor implementation that utilizes new features - added FakeClusterNavigationActivity in Kitchensink which is a dummy nav activity that can be run in the cluster, it has appropriate permissions and activity category in manifest Test: kitchensink Bug: b/37500371 Change-Id: Ic4b3709a3b7e1310dbd1c499990eea64479b3333
/packages/services/Car/tests/DirectRenderingClusterSample/src/android/car/cluster/sample/CarInfoFragment.java
|