Merge "Use enableSplitContextually() to guard split keyboard shortcut feature" into main

This commit is contained in:
Tracy Zhou authored and Android (Google) Code Review committed 2023-11-30 18:43:13 +00:00
commit aa759645cf
3 files changed
+3 -14

No files matched your search

@@ -432,15 +432,6 @@ public final class FeatureFlags {
"USE_LOCAL_ICON_OVERRIDES", ENABLED,
"Use inbuilt monochrome icons if app doesn't provide one");
// Aconfig migration complete for ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS.
public static final BooleanFlag ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS =
getDebugFlag(270394122, "ENABLE_SPLIT_FROM_FULLSCREEN_SHORTCUT", DISABLED,
"Enable splitting from fullscreen app with keyboard shortcuts");
public static boolean enableSplitFromFullscreenWithKeyboardShortcuts() {
return ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS.get()
|| Flags.enableSplitFromFullscreenWithKeyboardShortcuts();
}
// Aconfig migration complete for ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE.
public static final BooleanFlag ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE = getDebugFlag(
270393453, "ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE", DISABLED,