Merge "Do not update surface for dummy animation as long as transition is set" into nyc-dev
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
|
// 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
|
// 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.
|
// 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)) {
|
mService.mOpeningApps.contains(w.mAppToken)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user