Merge "Revert "Revert "Migrate ENABLE_GRID_ONLY_OVERVIEW to aconfig flag""" into main

This commit is contained in:
Alex Chau authored and Android (Google) Code Review committed 2023-10-11 15:38:57 +00:00
commit 6ae2c4d77d
12 files changed
+20 -29

No files matched your search

+1 -1
View File
@@ -1772,7 +1772,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();