Merge "Partial revert of keyguard checks" into rvc-dev am: 2a3c62046c am: 8007d1ee8c am: 7ba19b69ca

Change-Id: I92e035766a3974a6db0a746c35d7da76b2873815
This commit is contained in:
Yuncheol Heo
2020-05-08 02:03:05 +00:00
committed by Automerger Merge Worker

View File

@@ -213,7 +213,7 @@ public class CarKeyguardViewController extends OverlayViewController implements
@Override @Override
public void onCancelClicked() { public void onCancelClicked() {
if (!mShowing) return; if (mBouncer == null) return;
getOverlayViewGlobalStateController().setWindowFocusable(/* focusable= */ false); getOverlayViewGlobalStateController().setWindowFocusable(/* focusable= */ false);
getOverlayViewGlobalStateController().setWindowNeedsInput(/* needsInput= */ false); getOverlayViewGlobalStateController().setWindowNeedsInput(/* needsInput= */ false);
@@ -234,7 +234,7 @@ public class CarKeyguardViewController extends OverlayViewController implements
@Override @Override
public void startPreHideAnimation(Runnable finishRunnable) { public void startPreHideAnimation(Runnable finishRunnable) {
if (!mShowing) return; if (mBouncer == null) return;
mBouncer.startPreHideAnimation(finishRunnable); mBouncer.startPreHideAnimation(finishRunnable);
} }