diff options
| author | 2024-06-20 23:38:24 +0000 | |
|---|---|---|
| committer | 2024-06-20 23:46:52 +0000 | |
| commit | 701b6a44f0a200a7ddc2d723d8864f44f46a2384 (patch) | |
| tree | 72d7b29f9228f23bd224625f879df3c0d20f0bbb | |
| parent | 9685f17312e7f8c656ac5d2e0fe31ebde2643831 (diff) | |
fix(window magnification): Switch the flag to Feature Request workflow
Switch the redesign magnifier window size flag to Feature Request
workflow.
Bug: 288056772
Test: manually test the flag
Flag: com.android.systemui.redesign_magnification_window_size
Change-Id: I66b337fb64fb30a88d381d44a637ab54d57f5b5d
| -rw-r--r-- | packages/SystemUI/aconfig/accessibility.aconfig | 5 | ||||
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/accessibility/WindowMagnificationController.java | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/packages/SystemUI/aconfig/accessibility.aconfig b/packages/SystemUI/aconfig/accessibility.aconfig index f63a896520c7..08614540c330 100644 --- a/packages/SystemUI/aconfig/accessibility.aconfig +++ b/packages/SystemUI/aconfig/accessibility.aconfig @@ -73,13 +73,10 @@ flag { } flag { - name: "redesign_magnifier_window_size" + name: "redesign_magnification_window_size" namespace: "accessibility" description: "Redesigns the window magnification magnifier sizes provided in the settings panel." bug: "288056772" - metadata { - purpose: PURPOSE_BUGFIX - } } flag { diff --git a/packages/SystemUI/src/com/android/systemui/accessibility/WindowMagnificationController.java b/packages/SystemUI/src/com/android/systemui/accessibility/WindowMagnificationController.java index 25ad3853484a..b37ba8994e44 100644 --- a/packages/SystemUI/src/com/android/systemui/accessibility/WindowMagnificationController.java +++ b/packages/SystemUI/src/com/android/systemui/accessibility/WindowMagnificationController.java @@ -1633,7 +1633,7 @@ class WindowMagnificationController implements View.OnTouchListener, SurfaceHold int maxHeightSize; int maxWidthSize; - if (Flags.redesignMagnifierWindowSize()) { + if (Flags.redesignMagnificationWindowSize()) { // mOuterBorderSize = transparent margin area // mMirrorSurfaceMargin = transparent margin area + orange border width // We would like to allow the width and height to be full size. Therefore, the max |