Add feature flag for settings security hub

Adds a feature flag to enable the security hub functionality in
settings.

Bug: 181764276
Test: tested manually by checking the flag in developer options
Change-Id: I1a8c70b7f1037f8fdab95206c2a719e43d9254f4
This commit is contained in:
David Coffin
2021-03-05 11:55:21 +00:00
parent ac754912ca
commit 1b8b687f33

View File

@@ -49,6 +49,8 @@ public class FeatureFlagUtils {
/** @hide */
public static final String SETTINGS_USE_NEW_BACKUP_ELIGIBILITY_RULES
= "settings_use_new_backup_eligibility_rules";
/** @hide */
public static final String SETTINGS_ENABLE_SECURITY_HUB = "settings_enable_security_hub";
private static final Map<String, String> DEFAULT_FLAGS;
@@ -72,6 +74,7 @@ public class FeatureFlagUtils {
DEFAULT_FLAGS.put("settings_contextual_home", "false");
DEFAULT_FLAGS.put(SETTINGS_PROVIDER_MODEL, "false");
DEFAULT_FLAGS.put(SETTINGS_USE_NEW_BACKUP_ELIGIBILITY_RULES, "false");
DEFAULT_FLAGS.put(SETTINGS_ENABLE_SECURITY_HUB, "false");
}
private static final Set<String> PERSISTENT_FLAGS;