Loading core/java/android/window/flags/windowing_sdk.aconfig +0 −11 Original line number Diff line number Diff line Loading @@ -141,17 +141,6 @@ flag { } } flag { namespace: "windowing_sdk" name: "fix_moving_unfocused_task" description: "Avoid moving the visible and unfocused multi-window mode Task to front" bug: "399860102" is_fixed_read_only: true metadata { purpose: PURPOSE_BUGFIX } } flag { namespace: "windowing_sdk" name: "update_task_min_dimensions_with_root_activity" Loading services/core/java/com/android/server/wm/ActivityStarter.java +1 −2 Original line number Diff line number Diff line Loading @@ -1986,8 +1986,7 @@ class ActivityStarter { // To prevent interruption of the user's current focus, if a launch request // originates from activities within the same visible task, the task should not be // moved to the front, or an unfocused Task could be moved to top unexpectedly. if (com.android.window.flags.Flags.fixMovingUnfocusedTask() && !avoidMoveToFront() && sourceRecord != null && sourceRecord.getTask() == targetTask if (!avoidMoveToFront() && sourceRecord != null && sourceRecord.getTask() == targetTask && targetTask.isVisible() && targetTask.inMultiWindowMode()) { mCanMoveToFrontCode = MOVE_TO_FRONT_AVOID_VISIBLE_MULTI_WINDOW; } Loading Loading
core/java/android/window/flags/windowing_sdk.aconfig +0 −11 Original line number Diff line number Diff line Loading @@ -141,17 +141,6 @@ flag { } } flag { namespace: "windowing_sdk" name: "fix_moving_unfocused_task" description: "Avoid moving the visible and unfocused multi-window mode Task to front" bug: "399860102" is_fixed_read_only: true metadata { purpose: PURPOSE_BUGFIX } } flag { namespace: "windowing_sdk" name: "update_task_min_dimensions_with_root_activity" Loading
services/core/java/com/android/server/wm/ActivityStarter.java +1 −2 Original line number Diff line number Diff line Loading @@ -1986,8 +1986,7 @@ class ActivityStarter { // To prevent interruption of the user's current focus, if a launch request // originates from activities within the same visible task, the task should not be // moved to the front, or an unfocused Task could be moved to top unexpectedly. if (com.android.window.flags.Flags.fixMovingUnfocusedTask() && !avoidMoveToFront() && sourceRecord != null && sourceRecord.getTask() == targetTask if (!avoidMoveToFront() && sourceRecord != null && sourceRecord.getTask() == targetTask && targetTask.isVisible() && targetTask.inMultiWindowMode()) { mCanMoveToFrontCode = MOVE_TO_FRONT_AVOID_VISIBLE_MULTI_WINDOW; } Loading