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

Commit c8c40567 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AOD: Use keyguard screen rotation when dozing" into oc-dr1-dev

parents 4a51e275 8206944f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ public class StatusBarWindowManager implements RemoteInputController.Callback, D
    }

    private void adjustScreenOrientation(State state) {
        if (state.isKeyguardShowingAndNotOccluded()) {
        if (state.isKeyguardShowingAndNotOccluded() || state.dozing) {
            if (mKeyguardScreenRotation) {
                mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_USER;
            } else {