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

Commit 2e342c39 authored by Daniel Norman's avatar Daniel Norman Committed by Android (Google) Code Review
Browse files

Merge "Cleanup flag "add_black_background_for_window_..."" into main

parents 030d9e47 7c449858
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -833,9 +833,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);