Skip to content

Add a toggle to allow screenshots through FLAG SECURE - #461

Open
BasedJellyfish11 wants to merge 2 commits into
GrapheneOS:17from
BasedJellyfish11:16-qpr2
Open

BasedJellyfish11 wants to merge 2 commits into
GrapheneOS:17from
BasedJellyfish11:16-qpr2

Conversation

@BasedJellyfish11

Copy link
Copy Markdown

issue: GrapheneOS/os-issue-tracker#664

Adds a setting to developer options to disable flag secure globally. Actual setting is implemented in GrapheneOS/platform_packages_apps_Settings#411

image image

Replaces #313, which GitHub will not let me reopen after the 17 branch was recreated. Rebased onto current 17 (84183af) with no changes to the patches themselves.

Marks the built-in screen recorder's virtual display as secure so that
FLAG_SECURE windows are composited into the recording instead of being
blacked out. Only the system screen recorder is affected; MediaProjection
sessions owned by other apps keep their existing behaviour.

issue: GrapheneOS/os-issue-tracker#664
@Eskuero

Eskuero commented Oct 7, 2026

Copy link
Copy Markdown

Why on developer settings tho? I see this more like a feature to gain control back of our device. Maybe it could land under privacy/security settings so we don't have to enable developer settings as a whole to use this.

@thestinger
thestinger force-pushed the 17 branch 2 times, most recently from 663fda1 to ef40213 Compare October 16, 2026 04:26
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