Open seventhmoon opened 3 years ago
An article from a GDE which may help you on this https://blog.csdn.net/guolin_blog/article/details/120275319
Thanks for your reminder of the double splash screen issue on Android 12. We'll work on it.
https://twitter.com/vadimcaen/status/1483836901228380160
Workaround FYI
https://developer.android.com/about/versions/12/features/splash-screen
Android 12 adds the
SplashScreen
API, which enables a new app launch animation for all apps.However, Social Distancing app already implemented a custom Splash Screen. Which caused double Splash Screen on Android 12.
The current implementation is a wait of 600ms https://github.com/ailabstw/social-distancing-android/blob/4aaa3e3e10d49ecc2b9abe0379c332b86f9b6b72/SocialDistance/src/main/java/tw/gov/cdc/exposurenotifications/activity/SplashActivity.kt#L14-L17
It will be better if migrate to SplashScreen Compat Library