diff options
author | Santos Cordon <santoscordon@google.com> | 2020-07-29 11:54:23 +0100 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2020-08-03 16:26:51 +0000 |
commit | 31c24e048ff7e93bfe142bf9d732756e3e9038d2 (patch) | |
tree | edd3112bff8cefe5e958936c6e3c6e15a5f858df /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | afab5784eab6f6ef093ad3a34da72cc7f9cf6c6c (diff) |
Allow Power-button to temporarily ignore proximity sensor.
If a device has an active proximity wakelocks while proximity
is in the "near" state, a press of the power button will temporarily
ignore proximity sensor allowing the screen to turn back on.
It will stop being ignored where there is a change to the
proximity sensor state.
Bug: 162443904
Test: atest PowerManagerServiceTests, atest DisplayManagerTests
Change-Id: I2656cca3e643e278cd5e5fedc2d74d9cbca82c2b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions