commit | 0bf6de0d5c6ee07171098226cc3de3251a691bba | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Mon Jun 28 22:27:45 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jun 28 22:27:45 2021 +0000 |
tree | b53bc72c96435c57b887a6db5510846b05174753 | |
parent | 11ce199c2b75d9b0144aebecabd51dbc92e5ca57 [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: I01ca7da221bee368e8502ccf08d8327f7c5291a8
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()