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

am: 5e8651c195

Change-Id: I6c5f319149f24bab978b30e42dc3aa1816501b90
This commit is contained in:
Adrian Roos
2017-06-30 17:11:13 +00:00
committed by android-build-merger

View File

@@ -137,7 +137,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 {