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
Loading
Please register or sign in to comment