diff options
| author | 2022-02-08 10:06:28 +0800 | |
|---|---|---|
| committer | 2022-02-25 11:17:31 +0800 | |
| commit | 5e0c72a2c593de712debf7294e39fb36553a2b30 (patch) | |
| tree | adbb02a89700a186922f8060cb93912c49edfe7a /libs/androidfw/misc.cpp | |
| parent | 17a66a2236e52dc055b57b543e2732a95aace308 (diff) | |
Estimate animation duration for AVD and AnimationDrawable
For Android S, we use the API windowSplashScreenAnimationDuration to
know the duration of the animatable icon would be, however, developers
can be confused to thought that this API is used to declare the
duration of splash screen.
To get the real duration of the animatable icon, if it is an AVD or
AnimationDrawable, try to get the animation duration from it.
Test: atest StartingSurfaceDrawerTests SplashscreenTests
Bug: 211707095
Change-Id: Ia3f8c5cd50bab164360e07d9ced87ff7f4321e96
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions