Implement hide gestural navigation hint bar [3/5]

Change-Id: Iaf776d9d70b951119134eb31bc44a3a63f468698
Signed-off-by: Jesse Chan <jc@lineageos.org>
This commit is contained in:
Jesse Chan
2020-05-19 14:31:46 +08:00
committed by Michael W
parent 9d01848dcd
commit d649b1d261
2 changed files with 11 additions and 0 deletions

View File

@@ -1033,6 +1033,15 @@ public final class LineageSettings {
public static final Validator NAVIGATION_BAR_MENU_ARROW_KEYS_VALIDATOR =
sBooleanValidator;
/**
* boolean value. toggles swipe up hint in gestural nav mode
*/
public static final String NAVIGATION_BAR_HINT = "navigation_bar_hint";
/** @hide */
public static final Validator NAVIGATION_BAR_HINT_VALIDATOR =
sBooleanValidator;
/**
* Action to perform when the home key is long-pressed.
* (Default can be configured via config_longPressOnHomeBehavior)
@@ -2234,6 +2243,7 @@ public final class LineageSettings {
VALIDATORS.put(NAV_BUTTONS, NAV_BUTTONS_VALIDATOR);
VALIDATORS.put(NAVIGATION_BAR_MENU_ARROW_KEYS,
NAVIGATION_BAR_MENU_ARROW_KEYS_VALIDATOR);
VALIDATORS.put(NAVIGATION_BAR_HINT, NAVIGATION_BAR_HINT_VALIDATOR);
VALIDATORS.put(KEY_HOME_LONG_PRESS_ACTION, KEY_HOME_LONG_PRESS_ACTION_VALIDATOR);
VALIDATORS.put(KEY_HOME_DOUBLE_TAP_ACTION, KEY_HOME_DOUBLE_TAP_ACTION_VALIDATOR);
VALIDATORS.put(BACK_WAKE_SCREEN, BACK_WAKE_SCREEN_VALIDATOR);