Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4de5321 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Remove enabled flag bg_priority_for_occluded_freeform_tasks" into main

parents 1cd75e34 beb6c496
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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"
+1 −2
Original line number Diff line number Diff line
@@ -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) {