Merge "Do not update surface for dummy animation as long as transition is set" into nyc-dev
am: 5b7a097b22
* commit '5b7a097b22cae234a7b0e575bda063525989a985':
Do not update surface for dummy animation as long as transition is set
Change-Id: If472fc155d34d155a626bdaf4addb1650ee8e385
This commit is contained in:
@@ -1448,7 +1448,7 @@ class WindowStateAnimator {
|
||||
// the same app again before the app's surface is destroyed or saved, the surface
|
||||
// is always ready in the whole process.) If we go ahead here, the opening app
|
||||
// will be shown with the full size before the correct animation spec arrives.
|
||||
if (mService.mAppTransition.isReady() && isDummyAnimation() &&
|
||||
if (mService.mAppTransition.isTransitionSet() && isDummyAnimation() &&
|
||||
mService.mOpeningApps.contains(w.mAppToken)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user