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

FLAG_SECURE is not working [Android 10] #109

Open
AniketKonnections opened this issue Nov 25, 2020 · 0 comments
Open

FLAG_SECURE is not working [Android 10] #109

AniketKonnections opened this issue Nov 25, 2020 · 0 comments

Comments

@AniketKonnections
Copy link

AniketKonnections commented Nov 25, 2020

Tested on Android 10.

Setting below Flag with this library wont work
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);

The user still allowed to take a screenshot or record a video, when the image is opened.

PS below Android 8... Secure Flag works with this library

@AniketKonnections AniketKonnections changed the title FLAG_SECURE is not working FLAG_SECURE is not working [Android 10] Nov 25, 2020
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

No branches or pull requests

1 participant