Add setting for Aware enable/disable
Bug: 122712565 Test: make Change-Id: I65358e815c1e2cb30be0ad90b3c94f4af11f17d9
This commit is contained in:
@@ -8435,6 +8435,13 @@ public final class Settings {
|
||||
private static final Validator THEME_CUSTOMIZATION_OVERLAY_PACKAGES_VALIDATOR =
|
||||
new SettingsValidators.PackageNameListValidator(",");
|
||||
|
||||
/**
|
||||
* Controls whether aware is enabled.
|
||||
* @hide
|
||||
*/
|
||||
public static final String AWARE_ENABLED = "aware_enabled";
|
||||
|
||||
private static final Validator AWARE_ENABLED_VALIDATOR = BOOLEAN_VALIDATOR;
|
||||
/**
|
||||
* This are the settings to be backed up.
|
||||
*
|
||||
@@ -8559,6 +8566,7 @@ public final class Settings {
|
||||
SKIP_GESTURE,
|
||||
SILENCE_GESTURE,
|
||||
THEME_CUSTOMIZATION_OVERLAY_PACKAGES,
|
||||
AWARE_ENABLED,
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -8731,6 +8739,7 @@ public final class Settings {
|
||||
VALIDATORS.put(SILENCE_GESTURE, SILENCE_GESTURE_VALIDATOR);
|
||||
VALIDATORS.put(THEME_CUSTOMIZATION_OVERLAY_PACKAGES,
|
||||
THEME_CUSTOMIZATION_OVERLAY_PACKAGES_VALIDATOR);
|
||||
VALIDATORS.put(AWARE_ENABLED, AWARE_ENABLED_VALIDATOR);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user