Merge "Add resume callback to animate back to appropriate depth." into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
74974e802e
@@ -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());
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user