Fix for bug where expensive launcher animations were being paused and never resumed.

Bug: 240623130
Test: Verified on device that the issue is not reproducible after fix.
Change-Id: I7b1e2f70fd75b1eddf340a4f85465cc6d5b65f73
(cherry picked from commit 8b336195a6)
This commit is contained in:
Stefan Andonian
2022-08-11 20:36:41 +00:00
parent 897d7d4d85
commit 677978c8ab

View File

@@ -518,6 +518,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
appsView.setAlpha(startAlpha);
SCALE_PROPERTY.set(appsView, startScale);
appsView.setLayerType(View.LAYER_TYPE_NONE, null);
mLauncher.resumeExpensiveViewUpdates();
};
} else if (mLauncher.isInState(OVERVIEW)) {
endListener = composeViewContentAnimator(launcherAnimator, alphas, scales);
@@ -647,6 +648,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
overview.setFreezeViewVisibility(false);
SCALE_PROPERTY.set(overview, 1f);
mLauncher.getStateManager().reapplyState();
mLauncher.resumeExpensiveViewUpdates();
};
}