Merge "Add a feature flag to guard the large screen feature in Settings app." into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ed8dd882dc
@@ -51,6 +51,9 @@ public class FeatureFlagUtils {
|
||||
/** @hide */
|
||||
public static final String SETTINGS_ENABLE_SECURITY_HUB = "settings_enable_security_hub";
|
||||
|
||||
/** @hide */
|
||||
public static final String SETTINGS_SUPPORT_LARGE_SCREEN = "settings_support_large_screen";
|
||||
|
||||
private static final Map<String, String> DEFAULT_FLAGS;
|
||||
|
||||
static {
|
||||
@@ -72,12 +75,14 @@ public class FeatureFlagUtils {
|
||||
DEFAULT_FLAGS.put(SETTINGS_PROVIDER_MODEL, "true");
|
||||
DEFAULT_FLAGS.put(SETTINGS_USE_NEW_BACKUP_ELIGIBILITY_RULES, "true");
|
||||
DEFAULT_FLAGS.put(SETTINGS_ENABLE_SECURITY_HUB, "true");
|
||||
DEFAULT_FLAGS.put(SETTINGS_SUPPORT_LARGE_SCREEN, "false");
|
||||
}
|
||||
|
||||
private static final Set<String> PERSISTENT_FLAGS;
|
||||
static {
|
||||
PERSISTENT_FLAGS = new HashSet<>();
|
||||
PERSISTENT_FLAGS.add(SETTINGS_PROVIDER_MODEL);
|
||||
PERSISTENT_FLAGS.add(SETTINGS_SUPPORT_LARGE_SCREEN);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user