From 73a4740f7fce9bb15373f369e4ed391c6400e600 Mon Sep 17 00:00:00 2001 From: Miranda Kephart Date: Fri, 12 Apr 2019 11:09:59 -0400 Subject: [PATCH] Don't shrink overview bitmap for chips Chips in overview will be shown on top of the bitmap, not in between the bitmap and the QSB, so we no longer need to shrink the bitmap to make room for chips. This means that the appearance of the recents view will be consistent between chips being enabled/disabled. Change-Id: I1856ccb8babd388ef6c8e6a1a5defcbdd0278a60 --- quickstep/src/com/android/quickstep/util/LayoutUtils.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/quickstep/src/com/android/quickstep/util/LayoutUtils.java b/quickstep/src/com/android/quickstep/util/LayoutUtils.java index bfe31d1311..68368fbb4b 100644 --- a/quickstep/src/com/android/quickstep/util/LayoutUtils.java +++ b/quickstep/src/com/android/quickstep/util/LayoutUtils.java @@ -45,8 +45,6 @@ public class LayoutUtils { float extraSpace; if (dp.isVerticalBarLayout()) { extraSpace = 0; - } else if (FeatureFlags.ENABLE_HINTS_IN_OVERVIEW.get()){ - extraSpace = dp.hotseatBarSizePx + dp.verticalDragHandleSizePx + dp.chipHintHeightPx; } else { extraSpace = dp.hotseatBarSizePx + dp.verticalDragHandleSizePx; }