commit | e7f8c8343a0dbc70d4a3c5e36d029b9e9bb23fa1 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Mon Jun 28 22:38:31 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jun 28 22:38:31 2021 +0000 |
tree | a0b0186763bbd18401b527533b626f616794c518 | |
parent | 967d02191c0e9f62cc226d2f6a81eb1cb0bfcd90 [diff] | |
parent | 0bf6de0d5c6ee07171098226cc3de3251a691bba [diff] |
Merge "Reset DEPTH at the end of launch animations" into sc-dev am: 789f01af7e am: 0bf6de0d5c Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15130116 Change-Id: I570b17fbd9055017f11bb25a881ce003624bd6b8
diff --git a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java index 0bfeaac..726ba58 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()