mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Merge "Revert "Launch split tasks at beginning of animation instead of the end"" into main
This commit is contained in:
@@ -225,7 +225,11 @@ public class LauncherTaskbarUIController extends TaskbarUIController {
|
||||
}
|
||||
|
||||
mTaskbarLauncherStateController.updateStateForFlag(FLAG_VISIBLE, isVisible);
|
||||
if (fromInit) {
|
||||
// TODO(b/308851855): Skip animation for launching split from home, will refine later
|
||||
boolean skipAnimForSplit = enableSplitContextually() &&
|
||||
mLauncher.areBothSplitAppsConfirmed() &&
|
||||
mLauncher.getStateManager().getState() == LauncherState.NORMAL;
|
||||
if (skipAnimForSplit || fromInit) {
|
||||
duration = 0;
|
||||
}
|
||||
return mTaskbarLauncherStateController.applyState(duration, startAnimation);
|
||||
|
||||
Reference in New Issue
Block a user