summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2020-05-27 23:16:42 +0200
committerJorim Jaggi <jjaggi@google.com>2020-05-28 15:38:19 +0200
commitc395c4ecb2742a9366f35e4967640013fc3ee6fd (patch)
tree9652638221577e4ceecbe36a0473a8a1ea0b1139 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentab476cc52555508cecc93b0e8a410c47b3373915 (diff)
Wait for animation done when sleeping
When pressing the home button when showing a show-when-locked activity on top of Keyguard, stop signal was sent too early, leading to a hole in various apps, for example, Camera, because stop signal wasn't deferred until animation was done. Since we only use sleep token for display off and Keyguard, we think it's safe to also wait for animation done in that case, but not for shutting down. Also make sure to only check for transition type. Test: Press home button while showing Secure camera on top of locked Keyguard, observe no hole Fixes: 156514461 Change-Id: I527747ae9b3042beee233f5436db3acf3df97964
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions