fix(magnification settings): create flag for restoring button status
Bug: 325567876
Test: N/A
Flag: ACONFIG com.android.systemui.save_and_restore_magnification_settings_buttons DEVELOPMENT
Change-Id: I11a9a33ff2b10648d969472e06af6830ab35330b
diff --git a/packages/SystemUI/aconfig/accessibility.aconfig b/packages/SystemUI/aconfig/accessibility.aconfig
index 47b8630..55edff6 100644
--- a/packages/SystemUI/aconfig/accessibility.aconfig
+++ b/packages/SystemUI/aconfig/accessibility.aconfig
@@ -71,3 +71,13 @@
description: "Animates the floating menu's transition between curved and jagged edges."
bug: "281140482"
}
+
+flag {
+ name: "save_and_restore_magnification_settings_buttons"
+ namespace: "accessibility"
+ description: "Saves the selected button status in magnification settings and restore the status when revisiting the same smallest screen DP."
+ bug: "325567876"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}