Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 789f01af authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Reset DEPTH at the end of launch animations" into sc-dev

parents 0b550e82 9d8580bd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -983,6 +983,9 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
            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()