summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDave Mankoff <mankoff@google.com>2020-05-13 12:46:18 -0400
committerDave Mankoff <mankoff@google.com>2020-05-18 17:22:41 -0400
commitddc924af31a9a8869389e34af69f12b065bfbe83 (patch)
treecb813a39ce246caa4f4ba8b59a0c56c27bc73fc5 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent57c2e1af5757d2de678840851d00f82f3cbb3ddf (diff)
Prevent recursive calls to proximity sensor.
This CL contains two main changes: 1) If a caller asks an instance of ProximitySensor to alert its listeners recursively, the call will be ignored. 2) The DozeSensors and DozeTriggers both use the same instance of a ProximitySensor so that they can share each other's prox calls. Also, a DelayableExecutor is now passed into ProximityCheck where once we used a Handler in order to make testing easier. Fixes: 152821688 Test: atest SystemUITests Change-Id: I8be62222c4e2b586218696b1d8b6ac158ebeffb5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions