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
diff --git a/packages/SystemUI/aconfig/accessibility.aconfig b/packages/SystemUI/aconfig/accessibility.aconfig
index f63a896..0861454 100644
--- a/packages/SystemUI/aconfig/accessibility.aconfig
+++ b/packages/SystemUI/aconfig/accessibility.aconfig
@@ -73,13 +73,10 @@
}
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 25ad385..b37ba89 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 @@
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