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

Screenshot may useless if developers set window flags in FLAG_SECURE. #2

Open
wejoy opened this issue Jul 17, 2019 · 0 comments
Open
Labels
help wanted Extra attention is needed

Comments

@wejoy
Copy link
Owner

wejoy commented Jul 17, 2019

public void closeScreenshot(Window window) {
    if (window == null) return;
    window.setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);
}

I just record it here, anyone has some good idea?

@wejoy wejoy added the help wanted Extra attention is needed label Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant