startActivityForResult should be used error only in dark mode
问题 I am implementing dark mode on my app, and I am facing a peculiar(to me) problem. Below is the logcat of the crash, which I am facing only in dark mode , no error/warning in Light/Default (I am in SDK<=29 , so my default is battery saver) mode. Even when battery saver is on, i.e. the app is essentially in dark mode, this crash does not occur. Log of the error: 2020-02-20 11:20:59.726 16666-16666/com.example.trial E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.trial, PID: 16666