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

Window Dialog Type change to TYPE_SYSTEM_ALERT #307

Merged
merged 9 commits into from
May 7, 2018

Conversation

karthiganesan90
Copy link
Contributor

@karthiganesan90 karthiganesan90 commented Apr 27, 2018

Fix to #124
Rather than using TYPE_APPLICATION_OVERLAY , it allows an app to create windows using the type TYPE_APPLICATION_OVERLAY, shown on top of all other apps. Very few apps should use this permission; these windows are intended for system-level interaction with the user.

Note: If the app targets API level 23 or higher, the app user must explicitly grant this permission to the app through a permission management screen. The app requests the user's approval by sending an intent with action ACTION_MANAGE_OVERLAY_PERMISSION. The app can check whether it has this authorization by calling Settings.canDrawOverlays().

@karthiganesan90 karthiganesan90 changed the title Window Dialog Type change TYPE_SYSTEM_ALERT Window Dialog Type change to TYPE_SYSTEM_ALERT Apr 27, 2018
@karthiganesan90
Copy link
Contributor Author

@xwenliang - Please can you create a new release for this change?

@karthiganesan90
Copy link
Contributor Author

karthiganesan90 commented May 3, 2018

@xwenliang - Are you going to merge this change to master? otherwise, the existing version is crashing on Android version 8.0 onwards.

@xwenliang xwenliang merged commit cd5f971 into beefe:master May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants