diff options
author | Dave Mankoff <mankoff@google.com> | 2019-09-16 14:38:06 -0400 |
---|---|---|
committer | Dave Mankoff <mankoff@google.com> | 2019-09-18 11:25:43 -0400 |
commit | 63a1282b037d1df9ac85c92107f44baaaff7b2ca (patch) | |
tree | 15f15bd000d88d82961965ca7af788700320926c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a6efc88add5a7d365225ba168bb85aaee1398627 (diff) |
Make DozeSensors, DozeTriggers use ProximitySensor
This CL takes the features used in DozeSensors and applies
them to the publicly available util.sensors.ProximitySensor class.
It introduces a RateLimiter class for temprorarily suspending the
ProximitySensor as requested.
It introduces a ProximityCheck class for a quick, one time test
of the proximity sensor.
There is some reshuffling of Sensor related code to its own package
as well.
Bug: 141122220
Test: atest SystemUITests
Change-Id: If126be9a56c6966c1678ee70fa6f4623e51361a7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions