Merge "AOD: Use keyguard screen rotation when dozing" into oc-dr1-dev
am: c8c4056756
Change-Id: I265c53deeb8c756c1480d45d50e0dcb98aa0c250
This commit is contained in:
@@ -138,7 +138,7 @@ public class StatusBarWindowManager implements RemoteInputController.Callback, D
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void adjustScreenOrientation(State state) {
|
private void adjustScreenOrientation(State state) {
|
||||||
if (state.isKeyguardShowingAndNotOccluded()) {
|
if (state.isKeyguardShowingAndNotOccluded() || state.dozing) {
|
||||||
if (mKeyguardScreenRotation) {
|
if (mKeyguardScreenRotation) {
|
||||||
mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_USER;
|
mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_USER;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user