Loading aconfig/launcher.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -27,3 +27,10 @@ flag { description: "Enables cursor hover states for certain elements." bug: "243191650" } flag { name: "enable_responsive_workspace" namespace: "launcher" description: "Enables new workspace grid calculations method." bug: "241386436" } src/com/android/launcher3/InvariantDeviceProfile.java +1 −1 Original line number Diff line number Diff line Loading @@ -888,7 +888,7 @@ public class InvariantDeviceProfile { deviceCategory = a.getInt(R.styleable.GridDisplayOption_deviceCategory, DEVICE_CATEGORY_ALL); if (FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE.get()) { if (FeatureFlags.enableResponsiveWorkspace()) { mWorkspaceSpecsId = a.getResourceId( R.styleable.GridDisplayOption_workspaceSpecsId, INVALID_RESOURCE_HANDLE); mWorkspaceSpecsTwoPanelId = a.getResourceId( Loading src/com/android/launcher3/config/FeatureFlags.java +5 −0 Original line number Diff line number Diff line Loading @@ -422,9 +422,14 @@ public final class FeatureFlags { // TODO(Block 31): Clean up flags // TODO(Block 32): Clean up flags // Aconfig migration complete for ENABLE_RESPONSIVE_WORKSPACE. @VisibleForTesting public static final BooleanFlag ENABLE_RESPONSIVE_WORKSPACE = getDebugFlag(241386436, "ENABLE_RESPONSIVE_WORKSPACE", DISABLED, "Enables new workspace grid calculations method."); public static boolean enableResponsiveWorkspace() { return ENABLE_RESPONSIVE_WORKSPACE.get() || Flags.enableResponsiveWorkspace(); } // TODO(Block 33): Clean up flags public static final BooleanFlag ENABLE_ALL_APPS_RV_PREINFLATION = getDebugFlag(288161355, Loading Loading
aconfig/launcher.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -27,3 +27,10 @@ flag { description: "Enables cursor hover states for certain elements." bug: "243191650" } flag { name: "enable_responsive_workspace" namespace: "launcher" description: "Enables new workspace grid calculations method." bug: "241386436" }
src/com/android/launcher3/InvariantDeviceProfile.java +1 −1 Original line number Diff line number Diff line Loading @@ -888,7 +888,7 @@ public class InvariantDeviceProfile { deviceCategory = a.getInt(R.styleable.GridDisplayOption_deviceCategory, DEVICE_CATEGORY_ALL); if (FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE.get()) { if (FeatureFlags.enableResponsiveWorkspace()) { mWorkspaceSpecsId = a.getResourceId( R.styleable.GridDisplayOption_workspaceSpecsId, INVALID_RESOURCE_HANDLE); mWorkspaceSpecsTwoPanelId = a.getResourceId( Loading
src/com/android/launcher3/config/FeatureFlags.java +5 −0 Original line number Diff line number Diff line Loading @@ -422,9 +422,14 @@ public final class FeatureFlags { // TODO(Block 31): Clean up flags // TODO(Block 32): Clean up flags // Aconfig migration complete for ENABLE_RESPONSIVE_WORKSPACE. @VisibleForTesting public static final BooleanFlag ENABLE_RESPONSIVE_WORKSPACE = getDebugFlag(241386436, "ENABLE_RESPONSIVE_WORKSPACE", DISABLED, "Enables new workspace grid calculations method."); public static boolean enableResponsiveWorkspace() { return ENABLE_RESPONSIVE_WORKSPACE.get() || Flags.enableResponsiveWorkspace(); } // TODO(Block 33): Clean up flags public static final BooleanFlag ENABLE_ALL_APPS_RV_PREINFLATION = getDebugFlag(288161355, Loading