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

Commit 7c449858 authored by Cam Bickel's avatar Cam Bickel Committed by Camden Bickel
Browse files

Cleanup flag "add_black_background_for_window_..."

Full flag name:
"add_black_background_for_window_magnifier"

Bug: b/299981434
Test: atest WindowMagnificationControllerTest
Flag: EXEMPT flag cleanup
Change-Id: I34f975cae67ae79091eac3fae91e1ab2ef6de2a9
parent 40c99aa5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -845,9 +845,7 @@ class WindowMagnificationController implements View.OnTouchListener, SurfaceHold
        }
        // Set the surface of the SurfaceView to black to avoid users seeing the contents below the
        // magnifier when the mirrored surface has an alpha less than 1.
        if (Flags.addBlackBackgroundForWindowMagnifier()) {
        mTransaction.setColor(mMirrorSurfaceView.getSurfaceControl(), COLOR_BLACK_ARRAY);
        }
        mTransaction.show(mMirrorSurface)
                .reparent(mMirrorSurface, mMirrorSurfaceView.getSurfaceControl());
        modifyWindowMagnification(false);