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

Commit c77275d3 authored by John Li's avatar John Li
Browse files

Add Settings flag for Transform.

Bug: 177299699
Test: manual
Change-Id: I4947117b6bb11678e3ad761204d720354b9e73ae
parent 816ef2dd
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -8045,6 +8045,15 @@ public final class Settings {
        public static final String ONE_HANDED_TUTORIAL_SHOW_COUNT =
                "one_handed_tutorial_show_count";
        /**
         * Indicates whether transform is enabled.
         * <p>
         * Type: int (0 for false, 1 for true)
         *
         * @hide
         */
        public static final String TRANSFORM_ENABLED = "transform_enabled";
        /**
         * The current night mode that has been selected by the user.  Owned
         * and controlled by UiModeManagerService.  Constants are as per
+2 −1
Original line number Diff line number Diff line
@@ -750,7 +750,8 @@ public class SettingsBackupTest {
                 Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_MAGNIFICATION_CONTROLLER,
                 Settings.Secure.SUPPRESS_DOZE,
                 Settings.Secure.REDUCE_BRIGHT_COLORS_ACTIVATED,
                 Settings.Secure.ACCESSIBILITY_SHOW_WINDOW_MAGNIFICATION_PROMPT);
                 Settings.Secure.ACCESSIBILITY_SHOW_WINDOW_MAGNIFICATION_PROMPT,
                 Settings.Secure.TRANSFORM_ENABLED);

    @Test
    public void systemSettingsBackedUpOrDenied() {