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

Skip to content
Commit 444cb5e4 authored by Shane's avatar Shane
Browse files

Handle when AnimationUtils getExpectedPresentationTimeNanos is not called in a callback

This change tries to handle the case when
getExpectedPresentationTimeNanos is not called in a callback (it happens
rarely). When getExpectedPresentationTimeNanos is called outside of a
callback, we call
mChoreographer.getLatestExpectedPresentTimeNanos() to
obtain the value.

Bug: 288630576
Test: atest AnimationUtilsTest
Change-Id: Ide033c69655ddf714d0626ca4a7643476693708c
parent a2e5ff93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment