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

Commit 3bf0834e authored by Kshitij's avatar Kshitij
Browse files

Revert "Revert "feat: Remove rotation for phones""

- As per latest discussion

This reverts commit cdbfadba.
parent 9fa475a0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -288,6 +288,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));