Merge "Fix container horizontal padding" into ub-launcher3-calgary

This commit is contained in:
Hyunyoung Song
2016-06-21 18:29:57 +00:00
committed by Android (Google) Code Review
@@ -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);