Merge "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-05 15:40:17 +00:00
commit 2ca7481b04
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();