commit | 4989f4f36d9246ecbead7b217d41134f72329acf | [log] [tgz] |
---|---|---|
author | Alex Chau <alexchau@google.com> | Wed Oct 11 14:08:22 2023 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Oct 11 14:08:22 2023 +0000 |
tree | dff723858e0633a154dd2431e69e7cdbb597eb19 | |
parent | 7b5472f9864f6d563284d5ea896d5b3aaa01747e [diff] [blame] |
Revert "Revert "Migrate ENABLE_GRID_ONLY_OVERVIEW to aconfig flag"" This reverts commit 7b5472f9864f6d563284d5ea896d5b3aaa01747e. 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
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index 94eb7a3..f61723a 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java
@@ -1761,7 +1761,7 @@ /** 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();