Skip to content
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

Cant create dialog from service #2

Open
banziyeoh opened this issue Jun 7, 2017 · 1 comment
Open

Cant create dialog from service #2

banziyeoh opened this issue Jun 7, 2017 · 1 comment

Comments

@banziyeoh
Copy link

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

@andreilisun
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants