Loading libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/DesktopModeWindowDecorViewModel.java +2 −4 Original line number Diff line number Diff line Loading @@ -278,13 +278,11 @@ public class DesktopModeWindowDecorViewModel implements WindowDecorViewModel { public void onTaskStageChanged(int taskId, @StageType int stage, boolean visible) { if (visible && stage != STAGE_TYPE_UNDEFINED) { DesktopModeWindowDecoration decor = mWindowDecorByTaskId.get(taskId); if (decor == null || !DesktopModeStatus.canEnterDesktopMode(mContext) || decor.mTaskInfo.getWindowingMode() != WINDOWING_MODE_FREEFORM) { return; } if (decor != null && DesktopModeStatus.canEnterDesktopMode(mContext)) { mDesktopTasksController.moveToSplit(decor.mTaskInfo); } } } }); } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/DesktopModeWindowDecorViewModel.java +2 −4 Original line number Diff line number Diff line Loading @@ -278,13 +278,11 @@ public class DesktopModeWindowDecorViewModel implements WindowDecorViewModel { public void onTaskStageChanged(int taskId, @StageType int stage, boolean visible) { if (visible && stage != STAGE_TYPE_UNDEFINED) { DesktopModeWindowDecoration decor = mWindowDecorByTaskId.get(taskId); if (decor == null || !DesktopModeStatus.canEnterDesktopMode(mContext) || decor.mTaskInfo.getWindowingMode() != WINDOWING_MODE_FREEFORM) { return; } if (decor != null && DesktopModeStatus.canEnterDesktopMode(mContext)) { mDesktopTasksController.moveToSplit(decor.mTaskInfo); } } } }); } Loading