Merge "Add setting for Aware enable/disable"

This commit is contained in:
TreeHugger Robot
2019-01-24 10:25:37 +00:00
committed by Android (Google) Code Review
7 changed files with 35 additions and 1 deletions

View File

@@ -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);
}
/**