Merge "Fix taskbar being empty" into sc-v2-dev am: 0e0e1cef09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16439570 Change-Id: I35766ede95fe4e73c883f7a187a23ba109ccb811
This commit is contained in:
commit
8dedf2f6bc
1 file changed
+3
-3
@@ -375,12 +375,12 @@ import java.util.function.Supplier;
|
|||||||
|
|
||||||
// Update the resumed state immediately to ensure a seamless handoff
|
// Update the resumed state immediately to ensure a seamless handoff
|
||||||
boolean launcherResumed = !finishedToApp;
|
boolean launcherResumed = !finishedToApp;
|
||||||
mIconAlignmentForResumedState.updateValue(launcherResumed ? 1 : 0);
|
|
||||||
|
|
||||||
updateStateForFlag(FLAG_RECENTS_ANIMATION_RUNNING, false);
|
updateStateForFlag(FLAG_RECENTS_ANIMATION_RUNNING, false);
|
||||||
updateStateForFlag(FLAG_RESUMED, launcherResumed);
|
updateStateForFlag(FLAG_RESUMED, launcherResumed);
|
||||||
applyState();
|
applyState();
|
||||||
|
// Set this last because applyState() might also animate it.
|
||||||
|
mIconAlignmentForResumedState.cancelAnimation();
|
||||||
|
mIconAlignmentForResumedState.updateValue(launcherResumed ? 1 : 0);
|
||||||
|
|
||||||
TaskbarStashController controller = mControllers.taskbarStashController;
|
TaskbarStashController controller = mControllers.taskbarStashController;
|
||||||
controller.updateStateForFlag(FLAG_IN_APP, finishedToApp);
|
controller.updateStateForFlag(FLAG_IN_APP, finishedToApp);
|
||||||
|
|||||||
Reference in new issue
Block a user