andreynovikov / trekarta

Simple, responsive map for your trek. You decide how to journey today, not the application!
https://trekarta.info
GNU General Public License v3.0
174 stars 25 forks source link

Workaround for splash screen freeze on Nokia 2.3 (Android 11) #167

Closed SokoFromNZ closed 2 years ago

SokoFromNZ commented 3 years ago

As mentioned I'm having big troubles on my Nokia 2.3 since it updated to Android 11. Its no data issue as the problem persisted after removing my SD card, testing internal memory and factory reset of the Nokia.

Somehow the splash screen/icon doesn't disappear in the main activity. The only working and stable solution I've found is to show another activity.

It might have something to do with setSystemUiVisibility being depreciated in API 30. You use it in MainActivity.java:747 with the comment Remove splash from background which I reckon is to remove the splash screen...

Let me know what you think or what you'd like to do.

I'm happy to try other solutions you wonna try.

Soko