summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-08-31 17:28:27 +0200
committerJorim Jaggi <jjaggi@google.com>2017-08-31 20:07:36 +0000
commit4d1835db5d98f75bbd2dd1e8bed3a06d7f1ccc46 (patch)
tree0e7a4af309179b7514fe408074e137df70433a63 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc1235a1ff202fddfa1df5ce5359555fbd9b47944 (diff)
Fix stuck activity
Assume the following sequence of events: - prepareAppTransition - setVisibility(app) - okToAnimate -> false - setVisibility(app) In this case, the first setVisibility call sets a dummy animation but the second setVisibility call removes the app from mOpeningApps but does not clear out the animation. In that case, the app is stuck with the dummy animation set that will get never cleared. To fix this, we always reset the animation if a dummy animation is set when changing the visibility, no matter we use a transit or not. Test: Unlock with fingerprint from AOD to homescreen Change-Id: I0dbe2d9836238aba7f16d3e45649fd4b82ff52f6 Fixes: 65067824
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions