Merge "Notify unlock controller when remote animation ends due to null finishedCallback." into tm-dev

This commit is contained in:
TreeHugger Robot
2022-06-03 18:07:51 +00:00
committed by Android (Google) Code Review

View File

@@ -2497,6 +2497,8 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
// supported, so it's always null.
mContext.getMainExecutor().execute(() -> {
if (finishedCallback == null) {
mKeyguardUnlockAnimationControllerLazy.get()
.notifyFinishedKeyguardExitAnimation(false /* cancelled */);
mInteractionJankMonitor.end(CUJ_LOCKSCREEN_UNLOCK_ANIMATION);
return;
}