Skip to content

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

@wejoy

Description

@wejoy
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions