This is a feature: FLAG_SECURE is real and used by many apps. i.e. Chrome's Incognito mode.
Sure, you have workarounds for power-users, but Google is locking the Android ecosystem progressively for regular users. Just like the Manifest v3 for Chrome.
Maybe Google is doing the "Embrace, extend, and extinguish" strategy that worked really well for Microsoft in the past.
The thread describes a bug indeed, but the feature really exists.
Quoting the Android SDK reference : "FLAG_SECURE [...] Treat the content of the window as secure, preventing it from appearing in screenshots" [1]
Try to screenshot while in Chrome's incognito, you'll see it in action.
> but Google is locking the Android ecosystem progressively for regular users.
FLAG_SECURE has existed for as long as Android has. It can't possibly be evidence of locking down the ecosystem progressively as it's always been part of the ecosystem.
Sure, you have workarounds for power-users, but Google is locking the Android ecosystem progressively for regular users. Just like the Manifest v3 for Chrome.
Maybe Google is doing the "Embrace, extend, and extinguish" strategy that worked really well for Microsoft in the past.