diff options
| author | 2023-07-13 16:59:19 +0000 | |
|---|---|---|
| committer | 2023-07-14 22:49:05 +0000 | |
| commit | 444cb5e4f0229689073fe139fb5b459be42e0c0d (patch) | |
| tree | 8722ed19824d3f5d30069e7388b9737ffa0dc5c6 /libs/androidfw/StringPool.cpp | |
| parent | a2e5ff930b2794fea7d30ce84e076a78f8a651f7 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions