diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index 16d9525b38..f1274dc74a 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -425,7 +425,9 @@ public class DeviceProfile { && WindowManagerProxy.INSTANCE.get(context).isTaskbarDrawnInProcess(); // Some more constants. - context = getContext(context, info, isVerticalBarLayout() || (isTablet && isLandscape) + context = getContext(context, info, inv.isFixedLandscape + || isVerticalBarLayout() + || (isTablet && isLandscape) ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT, windowBounds);