Tor Browser 11.5.9 for Android crashes on launch on Android 12+ after targetSdkVersion update
So a bit tricky to figure out what Google Play's analytics are saying, but from what I can tell every user seems to be affected by this crash:
org.torproject.android.service.TorService.notify
java.lang.IllegalArgumentException
Exception java.lang.RuntimeException:
at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:4831)
at android.app.ActivityThread.access$2200 (ActivityThread.java:277)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2208)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:211)
at android.os.Looper.loop (Looper.java:300)
at android.app.ActivityThread.main (ActivityThread.java:8285)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:576)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1074)
Caused by java.lang.IllegalArgumentException:
at android.app.PendingIntent.checkFlags (PendingIntent.java:375)
at android.app.PendingIntent.getActivityAsUser (PendingIntent.java:458)
at android.app.PendingIntent.getActivity (PendingIntent.java:444)
at android.app.PendingIntent.getActivity (PendingIntent.java:408)
at org.torproject.android.service.TorService.notify (TorService.java:5)
at org.torproject.android.service.TorService.onStartCommand (TorService.java:1)
at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:4813)
I've halted the rollout in the meantime.