Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b355e949 authored by Coco Duan's avatar Coco Duan
Browse files

Call finishedCallback if dream unocclude animation starts late

The onFinishedCallback isn't being called if the dream-to-X transition
finishes before the unocclude animation starts. Since we set
mUnoccludeFinishedCallback in onAnimationStart, and if that's called
after dreamViewModel.getTransitionEnded(), the callback is null.
Fix is in onAnimationStart, call onFinished if dream exit transition
is complete.

Also added some logging to help track down issue.

Fixes: 410801573
Test: atest KeyguardViewMediatorTestKt
Flag: EXEMPT bugfix
Change-Id: I16678b9809dd991dde37c2338a48267c174564fc
parent 3fcaf4ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment