commit | 78386ab1ca78e317278136d940091dc1328fb2c0 | [log] [tgz] |
---|---|---|
author | Beverly <beverlyt@google.com> | Mon Mar 29 17:42:42 2021 -0400 |
committer | Beverly Tai <beverlyt@google.com> | Tue Mar 30 19:47:24 2021 +0000 |
tree | 0ce4ef1b0327c9df8701dfb2853120e1c04e7f2a | |
parent | d19254d3abc4579c0bbaa83f26bb5558f3fd3f1d [diff] |
AOD: selectively register sensors that use prox Allow some devices to only register sensors that use prox when the display state is off or in doze on certain devices to avoid white prox dot behind display. The delay shouldn't be perceptible - when the device isn't in low-power mode yet, we rely on regular touch from the display. Test: manual, atest DozeSensorsTest, atest DozeTriggersTests Fixes: 181835575 Change-Id: Ib62ed0ca3150e0a3939c8d9f0c5ae700fd6a61d7