The 6.7 version just released on F-Droid crashes from time to time. From the logs I discovered something like this. Usually this happens when I unlock the screen.
FATAL EXCEPTION: main Process: ohi.andre.consolelauncher, PID: 2875 java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } in ohi.andre.consolelauncher.b$6@93b5ec at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$-android_app_LoadedApk$ReceiverDispatcher$Args_52497(LoadedApk.java:1323) at android.app.-$Lambda$aS31cHIhRx41653CMnd4gZqshIQ.$m$7(Unknown Source:4) at android.app.-$Lambda$aS31cHIhRx41653CMnd4gZqshIQ.run(Unknown Source:39) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6499) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) Caused by: java.lang.NullPointerException: Attempt to get length of null array at ohi.andre.consolelauncher.b.m(Unknown Source:28) at ohi.andre.consolelauncher.b.u(Unknown Source:0) at ohi.andre.consolelauncher.b$6.onReceive(Unknown Source:50) at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$-android_app_LoadedApk$ReceiverDispatcher$Args_52497(LoadedApk.java:1313) ... 9 more
If T-UI itself happened to be the main focus when the crash happens, the system would lose the default home launcher preference and would ask me about default home screen again the next time I tap the home button.
Additionally, I found this exception occurring in the app from the logs, but it doesn't seem to be relevant with the crash issue.
java.util.ConcurrentModificationException at java.util.ArrayList$Itr.next(ArrayList.java:860) at ohi.andre.consolelauncher.tuils.c.a(Unknown Source:15) at ohi.andre.consolelauncher.tuils.c.a(Unknown Source:7) at ohi.andre.consolelauncher.managers.suggestions.d.a(Unknown Source:27) at ohi.andre.consolelauncher.managers.suggestions.d.e(Unknown Source:11) at ohi.andre.consolelauncher.managers.suggestions.d.a(Unknown Source:311) at ohi.andre.consolelauncher.managers.suggestions.d$5.run(Unknown Source:68)
EDIT: After some testing, I'm pretty sure that it's 100%-reproducible on the 6.7 (F-Droid) version.
- Lock the screen.
- Unlock the screen.
- T-UI crashes.