commit | 996c32b10fcd22519ed6b3039218617a842ebf89 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Mon Jun 28 22:27:40 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jun 28 22:27:40 2021 +0000 |
tree | cd82cd5a41a46abb7e5445a6ea40c68c6e137f6f | |
parent | dbdb27ffa7b9346452a3ea7aefebbc20d2551559 [diff] | |
parent | 789f01af7e97f371c57eec5b77978a31fd61be44 [diff] |
Merge "Reset DEPTH at the end of launch animations" into sc-dev am: 789f01af7e Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15130116 Change-Id: I917bc0ff4bc97da1a32a673605332a824cdda07f
diff --git a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java index 6163447..ae7e477 100644 --- a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java +++ b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java
@@ -983,6 +983,9 @@ backgroundRadiusAnim.addListener(new AnimatorListenerAdapter() { @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.setSurface(null); if (dimLayer != null) { new SurfaceControl.Transaction()