Swipe-To-Dismiss-Dialog icon indicating copy to clipboard operation
Swipe-To-Dismiss-Dialog copied to clipboard

Cant create dialog from service

Open banziyeoh opened this issue 7 years ago • 1 comments

Exception shown when try to create dialog from service: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

banziyeoh avatar Jun 07 '17 13:06 banziyeoh

I suppose to make this possible swipe dismiss dialog should use window with TYPE_SYSTEM_ALERT instead of TYPE_APPLICATION.

andreilisun avatar Jun 07 '17 15:06 andreilisun