mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Merge "Fix bug where suggested widget overlaps widget list" into udc-qpr-dev am: c207167124
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24606284 Change-Id: I365153e76e8e84897fe8f74983efcb4248a9cce5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user