diff options
| author | 2024-11-25 20:43:04 +0000 | |
|---|---|---|
| committer | 2024-11-25 20:43:04 +0000 | |
| commit | 2e342c3990f6ea69e3524c9e1c7a6f3128ea8790 (patch) | |
| tree | 99937220afd56d550d73319ab6e6690f7a88cb7e | |
| parent | 030d9e47dbf4fbaae1dfa86bdbae392551505310 (diff) | |
| parent | 7c449858208c402e1ed01b28f506bfa93bcaad98 (diff) | |
Merge "Cleanup flag "add_black_background_for_window_..."" into main
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/accessibility/WindowMagnificationController.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/accessibility/WindowMagnificationController.java b/packages/SystemUI/src/com/android/systemui/accessibility/WindowMagnificationController.java index 3794e7bf6b55..08d3e17c03d7 100644 --- a/packages/SystemUI/src/com/android/systemui/accessibility/WindowMagnificationController.java +++ b/packages/SystemUI/src/com/android/systemui/accessibility/WindowMagnificationController.java @@ -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.setColor(mMirrorSurfaceView.getSurfaceControl(), COLOR_BLACK_ARRAY); mTransaction.show(mMirrorSurface) .reparent(mMirrorSurface, mMirrorSurfaceView.getSurfaceControl()); modifyWindowMagnification(false); |