Merge "Fix stuck wallpaper with predictive back" into main

This commit is contained in:
Johannes Gallmann
2024-01-15 09:51:42 +00:00
committed by Android (Google) Code Review

View File

@@ -1087,7 +1087,12 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
}
backgroundRadiusAnim.addListener(
AnimatorListeners.forEndCallback(depthController::dispose));
AnimatorListeners.forEndCallback(() -> {
// reset the depth to match the main depth controller's depth
depthController.stateDepth
.setValue(mLauncher.getDepthController().stateDepth.getValue());
depthController.dispose();
}));
return backgroundRadiusAnim;
}