d3849e1029
If the Wake Lock thread is running, stop it whenever initialize() is called in order to prevent an invalid Wake Lock Queue from being read. Also disable all sensors whenever initialize() is called to ensure that stale sensor registrations are properly cleaned up. Bug: 122468928 Test: Sensors HAL 2.0 tests run without crashing Change-Id: I5fb55628545adbb481da6fcda157c78cff834134 |
||
---|---|---|
.. | ||
Android.bp | ||
android.hardware.sensors@2.0-service.rc | ||
OWNERS | ||
Sensor.cpp | ||
Sensor.h | ||
Sensors.cpp | ||
Sensors.h | ||
service.cpp |