GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
354 stars 20 forks source link

Toggle for screenshot detection API introduced with Android 14 #2590

Open mtkmgh opened 12 months ago

mtkmgh commented 12 months ago

Somewhat related to #664 and #1915.

Similar to the issues mentioned above it would be great to get the ability to disable Android 14's screenshot detection API (either per app or globally) to prevent certain apps from being able to tell when a screenshot was taken. As there still are ways to prevent this screenshot detection by using the ADB or other tools, this would be a convenience feature, sparing the need for cumbersome workarounds.

hurutparittya commented 11 months ago

I'm reluctant to suggest this, but it's probably safe to just remove this feature altogether without bothering with a toggle. I've never seen it used in a positive, non-user-hostile manner and I sincerely doubt it offers any utility beyond being a tool for privacy invasion.

quh4gko8 commented 10 months ago

Outright removal or disabling the screenshot detection API without breaking compatibility with apps using is preferred. It makes sense to add a toggle for allowing screenshot first

quh4gko8 commented 10 months ago

Outright removal or disabling the screenshot detection API without breaking compatibility with apps using is preferred. It makes sense to add a toggle for allowing screenshot first

Opened https://github.com/GrapheneOS/os-issue-tracker/issues/2931 for the latter

alexmo1997 commented 4 days ago

This is now more important with Android 15, as apps can now detect being screenshared, so it isn't easy to circumvent this anymore.