summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorarthurhung <arthurhung@google.com>2021-03-24 16:53:14 +0800
committerArthur Hung <arthurhung@google.com>2021-03-30 07:46:38 +0000
commit2cd8502f45ce1427cfd78d17749f0da6d1ce2fa0 (patch)
treeaebdcf9fdd882e6d85930d03c5dc14e64a49e212 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfd87df7d58f3a2eab2f29f341a0273521624f448 (diff)
Fix screen can not turn on with power key sometimes
To prevent some variables may go to wrong state by different config. - Move 'BeganFromNonInteractive' into SingleKeyGestureDetector to ensure it could be set when the key first down. - Make sure we would clear state after 'onPress' triggered. - Add dump function to see what rules in current usage. Bug: 183497800 Bug: 182205496 Test: change config then press power key to suspend and resume Test: adb shell dumpsys window policy Change-Id: I672400325ac03045d441f1315df5ae0d819e20d4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions