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

Commit c45b02e5 authored by Kshitij's avatar Kshitij
Browse files

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

- As per latest discussion

This reverts commit cdbfadba.
parent 109c3a9a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -257,6 +257,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);
                    }
                    if (!getContext().getResources().getBoolean(
                            com.android.internal.R.bool.config_supportAutoRotation)) {