Merge "Add UI_NIGHT_MODE_CUSTOM_TYPE to SecureSettings backup." into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b7f5e21e80
@@ -146,6 +146,7 @@ public class SecureSettings {
|
||||
Settings.Secure.ACCESSIBILITY_INTERACTIVE_UI_TIMEOUT_MS,
|
||||
Settings.Secure.TRUST_AGENTS_EXTEND_UNLOCK,
|
||||
Settings.Secure.UI_NIGHT_MODE,
|
||||
Settings.Secure.UI_NIGHT_MODE_CUSTOM_TYPE,
|
||||
Settings.Secure.DARK_THEME_CUSTOM_START_TIME,
|
||||
Settings.Secure.DARK_THEME_CUSTOM_END_TIME,
|
||||
Settings.Secure.LOCK_SCREEN_WHEN_TRUST_LOST,
|
||||
|
||||
@@ -253,6 +253,7 @@ public class SecureSettingsValidators {
|
||||
VALIDATORS.put(Secure.ODI_CAPTIONS_ENABLED, BOOLEAN_VALIDATOR);
|
||||
VALIDATORS.put(Secure.DARK_MODE_DIALOG_SEEN, BOOLEAN_VALIDATOR);
|
||||
VALIDATORS.put(Secure.UI_NIGHT_MODE, NON_NEGATIVE_INTEGER_VALIDATOR);
|
||||
VALIDATORS.put(Secure.UI_NIGHT_MODE_CUSTOM_TYPE, NON_NEGATIVE_INTEGER_VALIDATOR);
|
||||
VALIDATORS.put(Secure.DARK_THEME_CUSTOM_START_TIME, NONE_NEGATIVE_LONG_VALIDATOR);
|
||||
VALIDATORS.put(Secure.DARK_THEME_CUSTOM_END_TIME, NONE_NEGATIVE_LONG_VALIDATOR);
|
||||
VALIDATORS.put(Secure.GLOBAL_ACTIONS_PANEL_ENABLED, BOOLEAN_VALIDATOR);
|
||||
|
||||
Reference in New Issue
Block a user