Fix stuck orientation in SetupWizard
Bug: 21755092 Change-Id: I3144a81523ce2ef4bf6dc457c0ea4b9723dae489
This commit is contained in:
@@ -371,7 +371,6 @@ public class KeyguardViewMediator extends SystemUI {
|
|||||||
@Override
|
@Override
|
||||||
public void onDeviceProvisioned() {
|
public void onDeviceProvisioned() {
|
||||||
sendUserPresentBroadcast();
|
sendUserPresentBroadcast();
|
||||||
updateInputRestricted();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -947,7 +946,7 @@ public class KeyguardViewMediator extends SystemUI {
|
|||||||
* was suppressed by an app that disabled the keyguard or we haven't been provisioned yet.
|
* was suppressed by an app that disabled the keyguard or we haven't been provisioned yet.
|
||||||
*/
|
*/
|
||||||
public boolean isInputRestricted() {
|
public boolean isInputRestricted() {
|
||||||
return mShowing || mNeedToReshowWhenReenabled || shouldWaitForProvisioning();
|
return mShowing || mNeedToReshowWhenReenabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateInputRestricted() {
|
private void updateInputRestricted() {
|
||||||
|
|||||||
Reference in New Issue
Block a user