summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2016-06-21 11:21:39 -0700
committerHyunyoung Song <hyunyoungs@google.com>2016-06-21 11:21:39 -0700
commit0f1ce045e22c6c90ea591573186e2be650c8f02d (patch)
tree2bd80a466b4453865c74c7d4180bf968217793ef /src/com/android/launcher3
parente26d1008eb587303db25797ca02cc32464e45656 (diff)
downloadandroid_packages_apps_Trebuchet-0f1ce045e22c6c90ea591573186e2be650c8f02d.tar.gz
android_packages_apps_Trebuchet-0f1ce045e22c6c90ea591573186e2be650c8f02d.tar.bz2
android_packages_apps_Trebuchet-0f1ce045e22c6c90ea591573186e2be650c8f02d.zip
Fix container horizontal padding
Change-Id: I41b84db6d71df7f4e47098fa9ed7eda4465f18c3
Diffstat (limited to 'src/com/android/launcher3')
-rw-r--r--src/com/android/launcher3/BaseContainerView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/BaseContainerView.java b/src/com/android/launcher3/BaseContainerView.java
index d7dec6e0b..84bd88dc4 100644
--- a/src/com/android/launcher3/BaseContainerView.java
+++ b/src/com/android/launcher3/BaseContainerView.java
@@ -53,7 +53,7 @@ public abstract class BaseContainerView extends FrameLayout {
Launcher launcher = Launcher.getLauncher(context);
int width = launcher.getDeviceProfile().availableWidthPx;
if (FeatureFlags.LAUNCHER3_ALL_APPS_PULL_UP &&
- this instanceof AllAppsContainerView && launcher.getDeviceProfile().isLandscape) {
+ this instanceof AllAppsContainerView && !launcher.getDeviceProfile().isLandscape) {
mHorizontalPadding = 0;
} else {
mHorizontalPadding = DeviceProfile.getContainerPadding(context, width);