diff --git a/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java b/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java index abca1f87d5..a4b605cccd 100644 --- a/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java +++ b/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java @@ -794,13 +794,15 @@ public class WidgetsFullSheet extends BaseWidgetSheet } // Checks the orientation of the screen - if (LARGE_SCREEN_WIDGET_PICKER.get() - && mOrientation != newConfig.orientation - && mDeviceProfile.isTablet - && !mDeviceProfile.isTwoPanels) { + if (mOrientation != newConfig.orientation) { mOrientation = newConfig.orientation; - handleClose(false); - show(Launcher.getLauncher(getContext()), false); + if (LARGE_SCREEN_WIDGET_PICKER.get() + && mDeviceProfile.isTablet && !mDeviceProfile.isTwoPanels) { + handleClose(false); + show(Launcher.getLauncher(getContext()), false); + } else { + reset(); + } } }