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

This commit is contained in:
Lucas Dupin authored and Android (Google) Code Review committed 2021-06-28 22:15:21 +00:00
commit 789f01af7e
1 file changed
+3
@@ -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()