Merge "Partial revert of keyguard checks" into rvc-dev am: 2a3c62046c

Change-Id: Ib295e7f10807315ef58e0e57d29985d934465afa
This commit is contained in:
Yuncheol Heo
2020-05-08 01:32:49 +00:00
committed by Automerger Merge Worker

View File

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