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

Commit 825255e6 authored by Yeabkal Wubshit's avatar Yeabkal Wubshit Committed by Android (Google) Code Review
Browse files

Merge "Enable negative values for GESTURE_HINT_PERIOD_DAYS to disable hints" into main

parents 3fdec2fe aaa8ebb8
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -21148,6 +21148,9 @@ public final class Settings {
            /**
            /**
             * Setting indicating the duration, in days, between two gesture hint sessions.
             * Setting indicating the duration, in days, between two gesture hint sessions.
             *
             *
             * <p>A value of 0 means that gesture hints will always show without any delay, and a
             * value of -1 means that gesture hints will never show.
             *
             * @hide
             * @hide
             */
             */
            public static final String GESTURE_HINT_PERIOD_DAYS = "gesture_hint_period_days";
            public static final String GESTURE_HINT_PERIOD_DAYS = "gesture_hint_period_days";
+1 −1
Original line number Original line Diff line number Diff line
@@ -477,7 +477,7 @@ public class GlobalSettingsValidators {
                        }));
                        }));
        VALIDATORS.put(Global.Wearable.GESTURE_PRIMARY_ACTION_USER_PREFERENCE, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Global.Wearable.GESTURE_PRIMARY_ACTION_USER_PREFERENCE, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Global.Wearable.GESTURE_DISMISS_ACTION_USER_PREFERENCE, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Global.Wearable.GESTURE_DISMISS_ACTION_USER_PREFERENCE, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Global.Wearable.GESTURE_HINT_PERIOD_DAYS, NON_NEGATIVE_INTEGER_VALIDATOR);
        VALIDATORS.put(Global.Wearable.GESTURE_HINT_PERIOD_DAYS, ANY_INTEGER_VALIDATOR);
        VALIDATORS.put(Global.GLOBAL_ACTIONS_TIMEOUT_MILLIS, NON_NEGATIVE_INTEGER_VALIDATOR);
        VALIDATORS.put(Global.GLOBAL_ACTIONS_TIMEOUT_MILLIS, NON_NEGATIVE_INTEGER_VALIDATOR);
    }
    }
}
}