Skip to content

Add a toggle to allow screenshots through FLAG_SECURE#411

Open
BasedJellyfish11 wants to merge 1 commit intoGrapheneOS:16-qpr2from
BasedJellyfish11:16-qpr2
Open

Add a toggle to allow screenshots through FLAG_SECURE#411
BasedJellyfish11 wants to merge 1 commit intoGrapheneOS:16-qpr2from
BasedJellyfish11:16-qpr2

Conversation

@BasedJellyfish11
Copy link
Copy Markdown

@BasedJellyfish11 BasedJellyfish11 commented Feb 20, 2026

issue: GrapheneOS/os-issue-tracker#664

Adds a setting to developer options to disable flag secure globally. Functionality is implemented in PR GrapheneOS/platform_frameworks_base#313

image test

@mio-19
Copy link
Copy Markdown

mio-19 commented Mar 4, 2026

Why is the toggle in developer options? Because of this I have to turn on developer options to access the toggle. But I don't want to turn on developer options generally

@BasedJellyfish11
Copy link
Copy Markdown
Author

BasedJellyfish11 commented Mar 4, 2026

Developer options has the setting to disable screen share protections which seemed loosely related to me, plus this setting alters how apps "normally" work, but I can rehome it if there's somewhere that makes more sense

@mio-19
Copy link
Copy Markdown

mio-19 commented Mar 5, 2026

How about Security and privacy -> more security and privacy -> privacy

@mio-19
Copy link
Copy Markdown

mio-19 commented Mar 5, 2026

Why are there 238 files changed and hundred of commits on GitHub webpage

@chenxiaolong
Copy link
Copy Markdown
Contributor

Why are there 238 files changed and hundred of commits on GitHub webpage

The history of the 16-qpr2 branch was just cleaned up in #414, so any PRs will need to be rebased.

@BasedJellyfish11
Copy link
Copy Markdown
Author

Thanks for the heads up, rebased

@mio-19 I don't think this setting as it is implemented in GrapheneOS/platform_frameworks_base#313 enhances privacy in any way. It just forces screenshots to go through regardless of flag status. Enhancing privacy would fall under something like GrapheneOS/os-issue-tracker#2590, which this doesn't implement at all. Any app that subscribes to these APIs will still know you screenshotted

I guess I'll leave the final decision up to whoever reviews the PR

@mio-19
Copy link
Copy Markdown

mio-19 commented Mar 5, 2026

How about keeping in developer options but not depending on the "Use developer options"? When I turned off the "Use developer options" I can see some options in the developer options page are still toggleable and the big "Use developer options" option doesn't affect them.

@BasedJellyfish11 BasedJellyfish11 changed the title Add a toggle to disable FLAG SECURE Add a toggle to allow screenshots through FLAG_SECURE Mar 7, 2026
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.

3 participants