Migrate ENABLE_GRID_ONLY_OVERVIEW to aconfig flag

Bug: 270397206
Test: OverviewActionsControllerTest
Flag: enableGridOnlyOverview
Change-Id: I1519e0e8d5b8a7e294d2d310c1614e8462649031
This commit is contained in:
Alex Chau committed 2023-10-03 12:58:18 +01:00
1 parent 2cce534cbb
commit 6f264a927b
12 files changed
+20 -29

No files matched your search

+1 -1
View File
@@ -1761,7 +1761,7 @@ public class DeviceProfile {
/** Gets the space that the overview actions will take, including bottom margin. */
public int getOverviewActionsClaimedSpace() {
int overviewActionsSpace = isTablet && FeatureFlags.enableGridOnlyOverview()
int overviewActionsSpace = isTablet && Flags.enableGridOnlyOverview()
? 0
: (overviewActionsTopMarginPx + overviewActionsHeight);
return overviewActionsSpace + getOverviewActionsClaimedSpaceBelow();