diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarLauncherStateController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarLauncherStateController.java index 008f5f6755..17e7e1b9bb 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarLauncherStateController.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarLauncherStateController.java @@ -551,6 +551,12 @@ public class TaskbarLauncherStateController { // updateValue ensures onIconAlignmentRatioChanged will be called if there is an actual // change in value mIconAlignment.updateValue(toAlignment); + + // Make sure FLAG_IN_APP is set when launching applications from keyguard. + if (!isInLauncher) { + mControllers.taskbarStashController.updateStateForFlag(FLAG_IN_APP, true); + mControllers.taskbarStashController.applyState(0); + } } else if (mIconAlignment.isAnimatingToValue(toAlignment) || mIconAlignment.isSettledOnValue(toAlignment)) { // Already at desired value, but make sure we run the callback at the end.