Merge "AOD: Hide SIM PIN entry while dozing" into oc-dr1-dev am: 4a51e275db

am: 1d42219ec5

Change-Id: I1c6519a33ade5cae173c46a1520d95286db13d28
This commit is contained in:
Adrian Roos
2017-06-30 17:09:52 +00:00
committed by android-build-merger

View File

@@ -152,7 +152,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
* {@link KeyguardBouncer#needsFullscreenBouncer()}.
*/
protected void showBouncerOrKeyguard(boolean hideBouncerWhenShowing) {
if (mBouncer.needsFullscreenBouncer()) {
if (mBouncer.needsFullscreenBouncer() && !mDozing) {
// The keyguard might be showing (already). So we need to hide it.
mStatusBar.hideKeyguard();
@@ -258,8 +258,11 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
}
public void setDozing(boolean dozing) {
mDozing = dozing;
updateStates();
if (mDozing != dozing) {
mDozing = dozing;
reset(dozing /* hideBouncerWhenShowing */);
updateStates();
}
}
public void onScreenTurnedOff() {