diff options
author | Josh Tsuji <tsuji@google.com> | 2021-12-10 14:32:33 -0500 |
---|---|---|
committer | Josh Tsuji <tsuji@google.com> | 2021-12-10 14:32:36 -0500 |
commit | 9df0055a272fe5614aaf26597e4915f42616b56c (patch) | |
tree | fce7d751b6cd9c3e93fdab5acf0b3d0615d17d81 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 45cf23a6a4368776f0bf28c9d8e43172090be7be (diff) |
Prevent double keyguardGoingAway, and finish cancelled animations.
keyguardGoingAway could be called twice in a row due to race conditions between tryKeyguardDone and hideLocked.
This resulted in the first animation being cancelled. This would normally not be a problem, except that we also
erroneously did not call onAnimationFinished() on the remote animation callback if the animation was cancelled,
which meant WM waited the full 10 seconds before timing out and showing the app/launcher.
Fixes: 208731860
Test: atest SystemUITests
Test: repeatedly UDFPS and wait for a cancelled animation, see that it becomes visible
Change-Id: I6d3401e85df99a2a9be75cb51fca7f7c5ee939d4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions