diff options
author | Dave Mankoff <mankoff@google.com> | 2021-08-03 14:47:19 -0400 |
---|---|---|
committer | Dave Mankoff <mankoff@google.com> | 2021-08-04 17:10:09 +0000 |
commit | 405e89be71f5f9b1a568b5e887dc8c1eaa21926e (patch) | |
tree | e72cd3d6c6c5a0b6bb4d58d447b91425df35060a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 2458c8f8c6c87e01b486335aa9a8715663dcc340 (diff) |
Force an initial event to be sent to ProximitySensor.
When registering a proximity sensor, if the sensor is a
"dual" sensor, and the device starts uncovered, we need to
alert sensor listeners. Prior to this change, we left the
ProximitySensor in an "unknown" state, even though we knew
the device was uncovered.
Add tag to DozeSensor's ProximitySensor
Bug: 194974904
Test: manual && atest SystemUITests
Change-Id: I430cd0d63de9c8f0914d5b0d0ff0d86fc38c0190
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions