Merge "AOD: Use keyguard screen rotation when dozing" into oc-dr1-dev am: c8c4056756
am: 5e8651c195
Change-Id: I6c5f319149f24bab978b30e42dc3aa1816501b90
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user