Yeah, the problem is related to the brightness slider.
Your launcher is trying to launch so the system is trying to dismiss a dialog.
Part of the cleanup is deregistering a BroadcastReceiver.
It was never registered in the first place so it crashes.
But I'm still confused why that prevents your launcher from running.
Edit:
We must be running different code.
I can find no sign of "DialogLightBrightness".
I have a utility that dumps out all the classes in:
Code:
framework.jar services.jar ext.jar telephony.jar kcb.apk
37,389 classes and I don't find hide nor hair of "DialogLightBrightness".
Or am I forgetting a jar?
Edit^2: Yes, I am forgetting a jar.
The delightfully named "SystemUIWithLegacyRecents.apk" (which I just call "systemui.apk").
com.android.systemui.statusbar.phone.DialogLightBr ightness is in there.
It registers for two broadcasts onyx.action.OPEN_BRIGHTNESS onyx.action.CLOSE_BRIGHTNESS
Do you have a dialog that only shows the warm/cold brightness sliders?
I don't think that that is your actual problem. It's wrapped in a try/catch and only verbosely dumping the stack.
I got so sick of looking for stuff that I wrote a utility. Here's a few lines out of the 40,000.
Code:
TraceCompat android.support.v4.os.TraceCompat kcb.apk/4
TraceCompat androidx.core.os.TraceCompat systemui.apk
TraceProperties android.sysprop.TraceProperties framework.jar/3
Tracer javassist.bytecode.stackmap.Tracer kcb.apk/4
TracingConfig android.webkit.TracingConfig framework.jar/3
TracingConfig$Builder android.webkit.TracingConfig$Builder framework.jar/3
(The /3 says that it's in classes3.dex of the multidex.)