From df39ca11d632434115a318120dc0e356918b4a4a Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Fri, 12 May 2017 14:33:17 -0700 Subject: [PATCH] Removing padding override in multi-window mode Bug: 37870754 Change-Id: Ia9fa51dccbd425874245bd312c0b0e087257fa81 --- src/com/android/launcher3/DeviceProfile.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index c32f2d5503..2d1ebf1145 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -231,9 +231,6 @@ public class DeviceProfile { profile.cellHeightPx = profile.iconSizePx + profile.iconDrawablePaddingPx + Utilities.calculateTextHeight(profile.iconTextSizePx); - // The nav bar is black so we add bottom padding to visually center hotseat icons. - profile.hotseatBarBottomPaddingPx = profile.hotseatBarTopPaddingPx; - // We use these scales to measure and layout the widgets using their full invariant profile // sizes and then draw them scaled and centered to fit in their multi-window mode cellspans. float appWidgetScaleX = (float) profile.getCellSize().x / getCellSize().x;