Merge "AOD: Use keyguard screen rotation when dozing" into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c8c4056756
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user