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

Commit bb04b678 authored by Erik Gilling's avatar Erik Gilling Committed by Android (Google) Code Review
Browse files

Merge "Set rotation to landscape on HDMI instead of 0"

parents 81de8456 10a058c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2850,7 +2850,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
            // or orientation sensor disabled
            //or case.unspecified
            if (mHdmiPlugged) {
                return Surface.ROTATION_0;
                return mLandscapeRotation;
            } else if (mLidOpen == LID_OPEN) {
                return mLidOpenRotation;
            } else if (mDockMode == Intent.EXTRA_DOCK_STATE_CAR && mCarDockRotation >= 0) {