diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-05-12 14:33:17 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-05-12 14:33:41 -0700 |
commit | df39ca11d632434115a318120dc0e356918b4a4a (patch) | |
tree | 144d6528f6bb75db6f20d0744d7e1fb89592489e /src | |
parent | 9e00b3c503df011bbd86cc86e8349cf4b35070d7 (diff) | |
download | android_packages_apps_Trebuchet-df39ca11d632434115a318120dc0e356918b4a4a.tar.gz android_packages_apps_Trebuchet-df39ca11d632434115a318120dc0e356918b4a4a.tar.bz2 android_packages_apps_Trebuchet-df39ca11d632434115a318120dc0e356918b4a4a.zip |
Removing padding override in multi-window mode
Bug: 37870754
Change-Id: Ia9fa51dccbd425874245bd312c0b0e087257fa81
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/launcher3/DeviceProfile.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index c32f2d550..2d1ebf114 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; |