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

Commit cfdd8c88 authored by Robin Lee's avatar Robin Lee
Browse files

Clean up flag com.android.window.flags.get_dimmer_on_closing

Flag: EXEMPT cleanup
Test: N/A
Fix: 409611944
Change-Id: Iea71dc62f3d7ecc5819852808013f45a39261c7b
parent db3262e8
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();
        }