Loading core/java/android/window/flags/windowing_frontend.aconfig +0 −11 Original line number Diff line number Diff line Loading @@ -152,17 +152,6 @@ flag { } } flag { name: "bg_priority_for_occluded_freeform_tasks" namespace: "windowing_frontend" description: "Background priority for occluded freeform tasks" bug: "325594711" is_fixed_read_only: true metadata { purpose: PURPOSE_BUGFIX } } flag { name: "fifo_priority_for_major_ui_processes" namespace: "windowing_frontend" Loading services/core/java/com/android/server/wm/WindowProcessController.java +1 −2 Original line number Diff line number Diff line Loading @@ -1321,8 +1321,7 @@ public class WindowProcessController extends ConfigurationContainer<Configuratio if (hasResumedFreeform // Exclude task layer 1 because it is already the top most. && minTaskLayer > 1) { if (com.android.window.flags.Flags.bgPriorityForOccludedFreeformTasks() && nonOccludedRatio == 0) { if (nonOccludedRatio == 0) { stateFlags |= ACTIVITY_STATE_FLAG_OCCLUDED_FREEFORM; } else if (minTaskLayer <= 1 + MAX_NUM_PERCEPTIBLE_FREEFORM || nonOccludedRatio >= PERCEPTIBLE_FREEFORM_VISIBLE_RATIO) { Loading Loading
core/java/android/window/flags/windowing_frontend.aconfig +0 −11 Original line number Diff line number Diff line Loading @@ -152,17 +152,6 @@ flag { } } flag { name: "bg_priority_for_occluded_freeform_tasks" namespace: "windowing_frontend" description: "Background priority for occluded freeform tasks" bug: "325594711" is_fixed_read_only: true metadata { purpose: PURPOSE_BUGFIX } } flag { name: "fifo_priority_for_major_ui_processes" namespace: "windowing_frontend" Loading
services/core/java/com/android/server/wm/WindowProcessController.java +1 −2 Original line number Diff line number Diff line Loading @@ -1321,8 +1321,7 @@ public class WindowProcessController extends ConfigurationContainer<Configuratio if (hasResumedFreeform // Exclude task layer 1 because it is already the top most. && minTaskLayer > 1) { if (com.android.window.flags.Flags.bgPriorityForOccludedFreeformTasks() && nonOccludedRatio == 0) { if (nonOccludedRatio == 0) { stateFlags |= ACTIVITY_STATE_FLAG_OCCLUDED_FREEFORM; } else if (minTaskLayer <= 1 + MAX_NUM_PERCEPTIBLE_FREEFORM || nonOccludedRatio >= PERCEPTIBLE_FREEFORM_VISIBLE_RATIO) { Loading