mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Fix stuck wallpaper with predictive back
Bug: 315149515 Flag: NONE Test: Manual, i.e. visually verifying that wallpaper never jumps to a new zoom level with predictive back enabled Change-Id: I17b12bdfd3ef5c9cffbc64df3d26ae140e506dc6
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user