From 0f1ce045e22c6c90ea591573186e2be650c8f02d Mon Sep 17 00:00:00 2001 From: Hyunyoung Song Date: Tue, 21 Jun 2016 11:21:39 -0700 Subject: [PATCH] Fix container horizontal padding Change-Id: I41b84db6d71df7f4e47098fa9ed7eda4465f18c3 --- src/com/android/launcher3/BaseContainerView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/BaseContainerView.java b/src/com/android/launcher3/BaseContainerView.java index d7dec6e0b6..84bd88dc49 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);