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

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

Merge "Disable OrientationListener if vertical landscape not supported" into ub-launcher3-master

parents 3af71783 3388323b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -287,7 +287,8 @@ public class LauncherRecentsView extends RecentsView<Launcher> implements StateL

    @Override
    protected boolean supportsVerticalLandscape() {
        return FeatureFlags.ENABLE_FIXED_ROTATION_TRANSFORM.get();
        return FeatureFlags.ENABLE_FIXED_ROTATION_TRANSFORM.get()
                && !mOrientationState.areMultipleLayoutOrientationsDisabled();
    }

    @Override