diff options
author | Chong Zhang <chz@google.com> | 2016-07-26 17:47:29 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2016-07-27 12:10:46 -0700 |
commit | e05bcb15d5944dee38e21fe64315ebf6673e69c7 (patch) | |
tree | b3863eb5246a91f918b1c0fbdc53bfba127d2b5d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 90cd4449bb47c93428796770b2609d682d7a4621 (diff) |
Cleanup mAnimatingExit flag before maybeUpdateTransitToWallpaper()
If we get onStopped before next resume, but previous exit animation
doesn't finish by the time the entering animation is started,
notifyAppResumed() won't do a surface cleanup (since it's already
stopped). Then maybeUpdateTransitToWallpaper() will think the wallpaper
target (launcher) is invisible because of the mAnimatingExit==true,
thus fails to pick WALLPAPER_OPEN animation.
We need to clear mAnimatingExit and relevant flags before
maybeUpdateTransitToWallpaper(). Currently we do it in handleOpeningApps
but that's too late.
bug: 30255354
Change-Id: Idb049c54978824709a190c413d82d42f40226aa7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions