mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Merge "Fix duplicate depth animations when swiping from overview to home" into sc-dev
This commit is contained in:
@@ -78,6 +78,10 @@ public class OverviewToHomeAnim {
|
||||
}
|
||||
|
||||
StateAnimationConfig config = new StateAnimationConfig();
|
||||
if (playWorkspaceRevealAnim) {
|
||||
// WorkspaceRevealAnim handles the depth, so don't interfere.
|
||||
config.animFlags |= StateAnimationConfig.SKIP_DEPTH_CONTROLLER;
|
||||
}
|
||||
config.duration = startState.getTransitionDuration(mLauncher);
|
||||
AnimatorSet stateAnim = stateManager.createAtomicAnimation(
|
||||
startState, NORMAL, config);
|
||||
|
||||
Reference in New Issue
Block a user