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

Commit b16cd779 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊 Committed by Nishith Khanna
Browse files

feat: Remove rotation for phones

parent 178b611d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -290,6 +290,8 @@ public class SettingsActivity extends FragmentActivity
                    if (info.isTablet(info.realBounds)) {
                        // Launcher supports rotation by default. No need to show this setting.
                        return false;
                    } else {
                        preference.setVisible(false);
                    }
                    // Initialize the UI once
                    preference.setDefaultValue(RotationHelper.getAllowRotationDefaultValue(info));