![]() : Unable to start activity ComponentInfo:Ī$BadTokenException: Unable to add window -Īt (ActivityThread.java:2817)Īt (ActivityThread.java:2892)Īt .-wrap11(Unknown Source:0)Īt $H.handleMessage(ActivityThread.java:1593)Īt android.os.Handler.dispatchMessage(Handler.java:105)Īt android.os.Looper.loop(Looper.java:164)Īt (ActivityThread.java:6541)Īt .invoke(Native Method)Īt .Zygote$n(Zygote.java:240)Īt .ZygoteInit.main(ZygoteInit.java:767)Ĭaused by: $BadTokenException: ![]() Trying the same on API 26 I am getting an error, basically "permission denied for window type 2002" when calling windowManager.addView(frameLayout, params) ĭid Google change the way, overlay works? Any idea, how to get my text as an overlay onto the screen in Android 8 (Oreo), API 26? Unable to add window - permission denied for this window type ). Running it on API 23 - 25 it works fine (asking for permission, granting, etc. ![]() WindowManager.I am using overlay permission to display certain information in my app. Internal class MyLifecycleOwner : SavedStateRegistryOwner
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |