Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa017b3c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't show two pane widget picker in foldables." into udc-dev

parents d063cc00 12ff85c0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -683,7 +683,8 @@ public class WidgetsFullSheet extends BaseWidgetSheet
    public static WidgetsFullSheet show(Launcher launcher, boolean animate) {
        boolean isTwoPane = LARGE_SCREEN_WIDGET_PICKER.get()
                && launcher.getDeviceProfile().isTablet
                && launcher.getDeviceProfile().isLandscape;
                && launcher.getDeviceProfile().isLandscape
                && !launcher.getDeviceProfile().isTwoPanels;

        WidgetsFullSheet sheet;
        if (isTwoPane) {