mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Prevent all apps transition NPE
b/29643291 b/29642263 > Also do not change status bar when landscape mode Change-Id: I1e44af8e031856a50a7413ad297c437245e8b2aa
This commit is contained in:
@@ -53,7 +53,8 @@ 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().isVerticalBarLayout()) {
|
||||
mHorizontalPadding = 0;
|
||||
} else {
|
||||
mHorizontalPadding = DeviceProfile.getContainerPadding(context, width);
|
||||
|
||||
Reference in New Issue
Block a user