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.
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.
[1] https://developer.android.com/reference/android/view/WindowM...