Add a feature flag to guard the large screen feature in Settings app.
Test: Rebuilt rom and see the flag in the developer page. Fix: 196954032 Change-Id: I408dc22033331e10f62ca9563d091208059b5e1e
This commit is contained in:
@@ -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