From e64c8effd38120b7335ece378400706ff4fbb800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Franco?= Date: Thu, 27 Jul 2023 18:25:53 +0000 Subject: [PATCH] Disable FOLDABLE_SINGLE_PAGE The functionality should go back to the same as with phones. There shouldn't be issues with the reorder or similar behavior since we are switching form using the MultipageCellLayout to the regular CellLayout. The things we need to pay attention to is the the behavior of having two panels like adding the right number of panels when loading (folding, unfolding and rotating). Bug: 291822492 Change-Id: I903873e32f35c5ee9e0f3da8581a37d4087d021f Test: ReorderWidgets Meged-In: I903873e32f35c5ee9e0f3da8581a37d4087d021f --- src/com/android/launcher3/config/FeatureFlags.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/com/android/launcher3/config/FeatureFlags.java b/src/com/android/launcher3/config/FeatureFlags.java index d2f37fbb5e..4806e44e12 100644 --- a/src/com/android/launcher3/config/FeatureFlags.java +++ b/src/com/android/launcher3/config/FeatureFlags.java @@ -187,6 +187,17 @@ public final class FeatureFlags { "ENABLE_PARAMETRIZE_REORDER", DISABLED, "Enables generating the reorder using a set of parameters"); + public static final BooleanFlag ENABLE_TWO_PANEL_HOME = getDebugFlag(270392643, + "ENABLE_TWO_PANEL_HOME", ENABLED, + "Uses two panel on home screen. Only applicable on large screen devices."); + + public static final BooleanFlag FOLDABLE_WORKSPACE_REORDER = getDebugFlag(270395070, + "FOLDABLE_WORKSPACE_REORDER", DISABLED, + "In foldables, when reordering the icons and widgets, is now going to use both sides"); + + public static final BooleanFlag FOLDABLE_SINGLE_PAGE = getDebugFlag(270395274, + "FOLDABLE_SINGLE_PAGE", DISABLED, "Use a single page for the workspace"); + // TODO(Block 12): Clean up flags public static final BooleanFlag ENABLE_MULTI_INSTANCE = getDebugFlag(270396680, "ENABLE_MULTI_INSTANCE", DISABLED,