mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
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
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user