commit | 52229d8d395133c6daa9a547650ac30d2dab6809 | [log] [tgz] |
---|---|---|
author | Dave Mankoff <mankoff@google.com> | Mon Apr 27 16:55:50 2020 -0400 |
committer | Dave Mankoff <mankoff@google.com> | Mon Apr 27 16:58:26 2020 -0400 |
tree | 5ddffe41e069e209bc77258f07edd9be1043572a | |
parent | cd220824deb05a9d7aeae7d510f8fc6e43495674 [diff] |
Ensure that DozeSensors can unregister itself. When DozeService shuts down, we need to ensure that any registered callbacks in DozeSensors get a chance to remove themselves from the SensorManager. Fixes: 155104806 Test: atest SystemUITests Change-Id: I5126cdb1b65d4db42674722839adb7331091e099