43f9280a24305e55930a25921ca33b36f7286898 |
|
06-Feb-2017 |
Enrico Granata <egranata@google.com> |
Refactor SensorListeners and SensorClientWithRate into helper types. The logic of SensorListeners is generally helpful to everyone who needs to maintain a list of clients associated with a rate of data exchange. Moving these out of CarSensorService and making them generic in the type of the listener object helps other interested clients reuse this code. Test: build Change-Id: Ibe73c4b495e384a411f682ee30555424becf7eaa
/packages/services/Car/service/src/com/android/car/Listeners.java
|