commit | 3a60257e848088bcf32da8a7854a3c5684447349 | [log] [tgz] |
---|---|---|
author | Andrew Lehmer <alehmer@google.com> | Thu Mar 25 15:19:56 2021 -0700 |
committer | Chris Kuiper <ckuiper@google.com> | Wed May 26 12:36:25 2021 -0700 |
tree | b1e3eae726d78ca6c06fccfe4f3a76e48c6b8c7b | |
parent | 266ca8e17bdff757c3b76c0cb990a1af0ec550be [diff] |
sensorservice: Add proximity active callback APIs. Bug: 175793106 Test: Tested using a temporary debug line in onProximityActiveLocked() and checking the counter going and up and down using the sensor test app plus the sensor_test CLI. Also tested willDisableAllSensors/didEnableAllSensors path by putting the service into restricted mode at various times. Change-Id: Ic44d29f8f9de681cc6abaf722d6dca5266e358a3