History log of /packages/services/Car/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2592136824b25e09769000dc7dd6d33b494b4c39 25-Apr-2018 Dean Harding <deanh@google.com> Fix flakiness in car-support-lib's CarNavigationStatusManagerTest.

The flakiness is caused by notifying listeners of app-focus changes on
the main thread, outside of a synchronised block. So the navigation
status client will request nav focus, then immediately try to send a
navigation status event. Sometimes it would arrive before the navigation
status service receives the notification of app-focus change.

By moving the call to save the focus-change into the main thread
callback, it lines up the calls so that the test will be blocked until
the navigation status renderer service is properly notified.

Overall, this is a pretty flaky design. There's a bunch of different
ways this could be better designed, but I'll just settle for fixing the
test today.

Bug: 73779646
Test: atest AndroidSupportCarApiTest
Change-Id: I12df90ebb08dea2565a9c7322b2c8a4398cd24eb
/packages/services/Car/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java
8099f2f6eb3348d2fbb79eb411b2a23514d53488 08-Feb-2018 Dean Harding <deanh@google.com> Un-hide some of the APIs in relation to nav state API.

Also removed some now-redundant methods. Since these methods were
previously @hide, there should be no harm in removing them as we
un-@hide onEvent.

Test: make update-car-api
Change-Id: I28d4621b3bcae01489dceea487d15878bbbeaa6b
/packages/services/Car/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java
4f7c940029f3e53198f6bc980b137f2f4a6312c0 21-Jul-2017 Pavel Maltsev <pavelm@google.com> Hide setClusterActivityState system method

Test: make update-car-api

Bug: b/37500371
Change-Id: I4bca77af3c2e26af175da5299fe1038b50d06d45
/packages/services/Car/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java
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/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java
1fd2ff63ed701ccc8d2f86d6285e09410eedb411 06-Jul-2017 Pavel Maltsev <pavelm@google.com> Allow to pass custom bundle in Car Nav Manager

Fix: b/63148533

Test: added API test, verified bundle is received in logging renderer
Change-Id: Ieb230c02a89251520fce058f082bc63cc522aad8
/packages/services/Car/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java
3388e7848f3a30029935463afafe9b8280939127 06-Oct-2016 Keun-young Park <keunyoung@google.com> instument cluster api review

- String to CharSequence for event name
- @IntDef clean ups
- void for set* APIs
App will lose app focus and will know it anyway.

bug: 31930987

Change-Id: Ic84c0a0bbe2980f51c3c260f5aa1181bf1b9bbe3
/packages/services/Car/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java
a928f13d7e41030331afaad33ee62e3772d96541 02-Aug-2016 Pavel Maltsev <pavelm@google.com> Clean-up Navigation API

Removed isInstrumentClusterSupported method
Modified onNextManeuverDistanceChanged method to include distance to display
Refactored instrument cluster reference implementation to use new params

Change-Id: I44cc436446eb510658306c8a118d455905efb1da
Fix: b/30115757
/packages/services/Car/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java
ffb3fb5029c2360cd03478dadac6c87f472e2875 29-Jun-2016 Pavel Maltsev <pavelm@google.com> Handle abandoning of nav app focus ownership

Change-Id: I00f8fb219e11093718c6dab0bdaad5679902aa38
Fixed: b/28767829
/packages/services/Car/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java
03cf60ce1ac0c87d137f93aeaac4b3062cdf839c 28-Jun-2016 Pavel Maltsev <pavelm@google.com> Handle key events in instrument cluster

Change-Id: Ic152b8fa6beb016383b6605b4e7e05394417d2e8
Fix:29366812
/packages/services/Car/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java
0477e29bb17ee8ec99acfa5fa966889cd45ebf34 27-May-2016 Pavel Maltsev <pavelm@google.com> Refactor Instrument Cluster API

- separate Car Service and Inst Cluster Renderer proccesses
- remove DemoInstrumentClusterRendering (we probably will make reference
Renderer based on work we did for I/O)
- deprecate instrument cluster listeners in CarNavigationManager

Change-Id: Id24142b5811b22477177b2bbcb4cc0e463023b18
Bug:28719314
/packages/services/Car/car-lib/src/android/car/cluster/renderer/InstrumentClusterRenderingService.java