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

Commit 348e187f authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Clean up flag com.android.window.flags.get_dimmer_on_closing" into main

parents 294351e6 cfdd8c88
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -190,17 +190,6 @@ flag {
  is_fixed_read_only: true
}

flag {
  name: "get_dimmer_on_closing"
  namespace: "windowing_frontend"
  description: "Change check for when to ignore a closing task's dim"
  bug: "329233513"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "update_dims_when_window_shown"
  namespace: "windowing_frontend"
+1 −3
Original line number Diff line number Diff line
@@ -3323,9 +3323,7 @@ class Task extends TaskFragment {
        // Once at the root task level, we want to check {@link #isTranslucent(ActivityRecord)}.
        // If true, we want to get the Dimmer from the level above since we don't want to animate
        // the dim with the Task.
        if (!isRootTask() || isTranslucentAndVisible()
                || (Flags.getDimmerOnClosing() ? isTranslucentForTransition()
                                                : isTranslucent(null))) {
        if (!isRootTask() || isTranslucentAndVisible() || isTranslucentForTransition()) {
            return super.getDimmer();
        }