Merge "Do not update surface for dummy animation as long as transition is set" into nyc-dev

This commit is contained in:
Chong Zhang
2016-05-02 17:31:12 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}