summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDave Mankoff <mankoff@google.com>2020-05-21 16:04:14 -0400
committerDave Mankoff <mankoff@google.com>2020-05-21 16:04:14 -0400
commit63027a63d3b70f79a8b22e7d72cf49d7e0e30baa (patch)
treed73ed5e7998bb7c181593e4b373f0063d8b24386 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3233e504f3cec8ffb990408909cb32edce8e184b (diff)
Ensure ProxCheck doesn't unregister ProxSensor
If the ProximitySensor passed into ProximityCheck is shared with other clients, the ProximityCheck was causing the ProximitySensor to be paused which, in turn, meant other clients would miss out on events. Specifically, this manifested itself in AOD/Doze where one part of Doze wanted the proximity sensor registered, but another part used ProximityCheck with the same sensor, causing the sensor to be paused. The screen would either not turn off when covered, or would not turn back on when uncovered. Fixes: 155365422 Test: atest SystemUITests and manual Change-Id: I3c3faf79ba6d3915b0cfecec7861f6065ae689e8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions