summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-05-27 15:39:09 -0700
committerJorim Jaggi <jjaggi@google.com>2015-05-30 00:41:07 +0000
commitd175b6cfe0b35dfe251cc9315aacb048bf6e54c5 (patch)
tree171a563eb7be27948dcd330037ef9e5cd6a0393a /tools/aapt2/java/JavaClassGenerator_test.cpp
parentcb81d183672a3d9858ade10a997990c5d66a1be3 (diff)
Cleanup Keyguard handling when turning off screen
Before, Keyguard was shown whenever PhoneWindowManager went to sleep. However, this was too early on some devices, and too late on others. Now, the callbacks are split up into two phases: startedGoingToSleep and finishedGoingToSleep. In the first callback, we decide what to do and play the lock sound if necessary. In the second callback, we actually show the Keyguard, or reset its state necessary, so it doesn't interfere with the screen off animation. Bug: 17929748 Bug: 20782303 Change-Id: I4c4406595b07b7589d64f380cd3fa96bed3d20ee
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions