-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: showing the dialog can crash the app #5
Comments
Actually now that I look at it, it seems like a crash on Android OS itself, right? |
Someone has created an Android bug report for this here: |
So... Why does it occur? Any way to handle it correctly? |
I don't know, sorry. It's only happened a few times for me during development, and only for one user in Production. |
ok thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got this exception :
10-23 13:09:45.316 28525-28525/uk.co.nickbutcher.animatordurationtile E/AndroidRuntime: FATAL EXCEPTION: main
Process: uk.co.nickbutcher.animatordurationtile, PID: 28525
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@53b0d53 is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:678)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:342)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at android.app.Dialog.show(Dialog.java:316)
at android.service.quicksettings.TileService.showDialog(TileService.java:232)
at uk.co.nickbutcher.animatordurationtile.SelectAnimatorDuration$1.run(SelectAnimatorDuration.java:69)
at android.service.quicksettings.TileService$H.handleMessage(TileService.java:401)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
It's a bit rare, but it happens.
The text was updated successfully, but these errors were encountered: