Revert "Revert "Migrate ENABLE_GRID_ONLY_OVERVIEW to aconfig flag""

This reverts commit 7b5472f986.

Reason for revert: aconfig/SetFlagsRule actually works with TAPL tests (http://ag/c/platform/packages/apps/Launcher3/+/24991890/comment/8303a3c6_030ae00b/)
Bug: 270397206

Change-Id: I7529a64c3197e4c2b4d5fb1e46fb29bdea1e52e9
This commit is contained in:
Alex Chau authored and Android (Google) Code Review committed 2023-10-11 14:08:22 +00:00
1 parent 7b5472f986
commit 4989f4f36d
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();