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

Commit beb6c496 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Remove enabled flag bg_priority_for_occluded_freeform_tasks

Fix: 436128643
Flag: EXEMPT flag removal
Test: MockingOomAdjusterTests#testUpdateOomAdj_DoOne_VisibleActivities
Change-Id: I498675a93e4c8c8edbb6322691648b8fc2412b13
parent 40ae3f5a
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) {