Merge "Decouple zooms and blurs on app launch" into sc-dev am: c2ef0363af am: b9ac946e06

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15145970

Change-Id: I82b1ecbc83f12cf085c2cde593eaa5150cda3f40
This commit is contained in:
Lucas Dupin authored and Automerger Merge Worker committed 2021-06-30 00:35:56 +00:00
commit 4992eab5c4
3 files changed
+26 -7

No files matched your search

@@ -981,11 +981,14 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
depthController.setSurface(dimLayer);
backgroundRadiusAnim.addListener(new AnimatorListenerAdapter() {
@Override
public void onAnimationStart(Animator animation) {
depthController.setIsInLaunchTransition(true);
}
@Override
public void onAnimationEnd(Animator animation) {
// Reset depth at the end of the launch animation, so the wallpaper won't be
// zoomed out if an app crashes.
DEPTH.setValue(depthController, 0f);
depthController.setIsInLaunchTransition(false);
depthController.setSurface(null);
if (dimLayer != null) {
new SurfaceControl.Transaction()