diff options
author | Beverly <beverlyt@google.com> | 2021-03-29 17:42:42 -0400 |
---|---|---|
committer | Beverly Tai <beverlyt@google.com> | 2021-03-30 19:47:24 +0000 |
commit | 78386ab1ca78e317278136d940091dc1328fb2c0 (patch) | |
tree | 0ce4ef1b0327c9df8701dfb2853120e1c04e7f2a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions