Merge "Fix container horizontal padding" into ub-launcher3-calgary
This commit is contained in:
committed by
Android (Google) Code Review
commit
314d53fbaf
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user