Merge "Migrate ENABLE_GRID_ONLY_OVERVIEW to aconfig flag" into main

This commit is contained in:
Alex Chau
2023-10-05 15:40:17 +00:00
committed by Android (Google) Code Review
12 changed files with 20 additions and 29 deletions
+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();