commit | 405e89be71f5f9b1a568b5e887dc8c1eaa21926e | [log] [tgz] |
---|---|---|
author | Dave Mankoff <mankoff@google.com> | Tue Aug 03 14:47:19 2021 -0400 |
committer | Dave Mankoff <mankoff@google.com> | Wed Aug 04 17:10:09 2021 +0000 |
tree | e72cd3d6c6c5a0b6bb4d58d447b91425df35060a | |
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