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

Commit 74974e80 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add resume callback to animate back to appropriate depth." into ub-launcher3-rvc-dev

parents a976a221 17230268
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -291,6 +291,15 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans
                    launcherContentAnimator.second.run();
                }
            });
        } else {
            anim.addListener(new AnimatorListenerAdapter() {
                @Override
                public void onAnimationStart(Animator animation) {
                    mLauncher.addOnResumeCallback(() ->
                            ObjectAnimator.ofFloat(mLauncher.getDepthController(), DEPTH,
                            mLauncher.getStateManager().getState().getDepth(mLauncher)).start());
                }
            });
        }
    }