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

Commit a3d986be authored by Phil Weaver's avatar Phil Weaver Committed by android-build-merger
Browse files

Merge "Permit all daltonizer settings to be restored" into pi-dev

am: 33975d7a

Change-Id: I7a92c24887c0b9f50c43d20b606c74e4f9a3079e
parents 23219d31 33975d7a
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -6184,10 +6184,13 @@ public final class Settings {

        /**
         * Integer property that specifies the type of color space adjustment to
         * perform. Valid values are defined in AccessibilityManager:
         * perform. Valid values are defined in AccessibilityManager and Settings arrays.xml:
         * - AccessibilityManager.DALTONIZER_DISABLED = -1
         * - AccessibilityManager.DALTONIZER_SIMULATE_MONOCHROMACY = 0
         * - AccessibilityManager.DALTONIZER_CORRECT_DEUTERANOMALY = 12
         * - <item>@string/daltonizer_mode_protanomaly</item> = 11
         * - AccessibilityManager.DALTONIZER_CORRECT_DEUTERANOMALY and
         *       <item>@string/daltonizer_mode_deuteranomaly</item> = 12
         * - <item>@string/daltonizer_mode_tritanomaly</item> = 13
         *
         * @hide
         */
@@ -6195,7 +6198,8 @@ public final class Settings {
                "accessibility_display_daltonizer";

        private static final Validator ACCESSIBILITY_DISPLAY_DALTONIZER_VALIDATOR =
                new SettingsValidators.DiscreteValueValidator(new String[] {"-1", "0", "12"});
                new SettingsValidators.DiscreteValueValidator(
                        new String[] {"-1", "0", "11", "12", "13"});

        /**
         * Setting that specifies whether automatic click when the mouse pointer stops moving is