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

Verified Commit 8e99e1e0 authored by Kshitij's avatar Kshitij Committed by Saalim Quadri
Browse files

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



- As per latest discussion

This reverts commit cdbfadba.

Signed-off-by: default avatarSaalim Quadri <danascape@gmail.com>
parent 6f916608
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -305,6 +305,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)) {