0

I have an unlocked Android 6.0.1 device, and I've installed a couple of banking apps.

For obvious security and paper trail reasons, I'd like to take some screenshots of my interaction with my bank. However, somehow the low-volume+power buttons no longer takes any screenshots whilst in either of the banking apps.

Why? How do I disable such a nuisance?

3
1

This is a result of FLAG_SECURE. The reason is obviously again security - other apps can either leverage the native screenshot API, or just read your captured results from storage to potentially obtain sensitive info.

If you're already into Xposed framework, then there are a bunch of modules that will disable the check for the flag system-wide, such as this one.

As @iBug already pointed out, always exercise extreme caution when working around security measures, especially when a 3rd-party app is involved.

2
  • thanks! it's sad that such features get introduced; haven't had this problem just a few releases ago
    – cnst
    Mar 24 '17 at 6:23
  • It's to stop malicious software being able to capture sensitive data from your screen Mar 25 '17 at 1:10
0

You can't take a screenshot in the regular way in such apps. Android allows foreground apps to prevent you from taking screenshots.
However you can still 'force take' screenshots with 3rd party apps, most of which requires root. As for myself I don't recommend this, as 3rd party apps can lead to even greater security & privacy unless you have a trusted app.

0

As Andy Yan said, it is caused by FLAG_SECURE that developer set as window attribute. Without root you can't take screenshot. But you can still take picture with camera on another phone ;-) Old school solution but it will definetely work.

Not the answer you're looking for? Browse other questions tagged or ask your own question.