Merge "Create a feature flag for SPA"

This commit is contained in:
Chaohui Wang
2022-08-30 07:56:14 +00:00
committed by Android (Google) Code Review

View File

@@ -116,6 +116,12 @@ public class FeatureFlagUtils {
*/
public static final String SETTINGS_NEW_KEYBOARD_UI = "settings_new_keyboard_ui";
/**
* Enable the new pages which is implemented with SPA.
* @hide
*/
public static final String SETTINGS_ENABLE_SPA = "settings_enable_spa";
private static final Map<String, String> DEFAULT_FLAGS;
static {
@@ -148,6 +154,7 @@ public class FeatureFlagUtils {
DEFAULT_FLAGS.put(SETTINGS_ENABLE_CLEAR_CALLING, "false");
DEFAULT_FLAGS.put(SETTINGS_ACCESSIBILITY_SIMPLE_CURSOR, "false");
DEFAULT_FLAGS.put(SETTINGS_NEW_KEYBOARD_UI, "false");
DEFAULT_FLAGS.put(SETTINGS_ENABLE_SPA, "false");
}
private static final Set<String> PERSISTENT_FLAGS;