commit | 4e71dea235d50f12f5e1e55e1eb1ac853142de3d | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Apr 03 23:24:18 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Apr 03 23:24:18 2023 +0000 |
tree | 874994f97b312c7ff7dae7598b4311f02ec18d3f | |
parent | 545e486b26962073fa69c1d901f139882f5ece90 [diff] | |
parent | 2c834dbf93a4ab586f89cdaec58eba48bda6aaed [diff] |
Snap for 9874503 from 2c834dbf93a4ab586f89cdaec58eba48bda6aaed to tm-qpr3-release Change-Id: I752ebf3ceb8f08d1fb8dfa09ffc0e58569bd718d
diff --git a/src/com/android/systemui/car/keyguard/CarKeyguardViewController.java b/src/com/android/systemui/car/keyguard/CarKeyguardViewController.java index 57636c3..347e08c 100644 --- a/src/com/android/systemui/car/keyguard/CarKeyguardViewController.java +++ b/src/com/android/systemui/car/keyguard/CarKeyguardViewController.java
@@ -317,7 +317,11 @@ @Override @MainThread public void startPreHideAnimation(Runnable finishRunnable) { - mPrimaryBouncerInteractor.startDisappearAnimation(finishRunnable); + if (isBouncerShowing()) { + mPrimaryBouncerInteractor.startDisappearAnimation(finishRunnable); + } else if (finishRunnable != null) { + finishRunnable.run(); + } } @Override