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 21:55:47 -0400
commit209e793a0b385d42f2c60a17167a0f07d73004e5 (patch)
tree69f02782cd5866e4b266b8b4db4127952d7195b4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6f718bba6faab759fde21650414020d74d77b5ba (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 Merged-In: I8be62222c4e2b586218696b1d8b6ac158ebeffb5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions