Disable Screenshot Security implies that I must root my device in order to bypass this unreasonable restriction. I have many use cases where I need to take screenshots for normal, non-nefarious reasons, yet it seems that I am prevented from doing so by some particuler application provider.

How do I avoid this restriction without rooting my phone?


The following sums up my situation and hardware configuration to the letter: http://www.netdip.com/unable-capture-screenshot-1464017054/

  • 1
    You don't. The whole point of that security flag is to prevent bad apps from stealing your private info and only the app developer knows when that will be appearing on the screen. Now if the app developer has set it up even though its a tip calculator - well use a different tip calculator, or root your phone or connect the phone to a PC and use adb/Android Studio: android.stackexchange.com/questions/138778/… – Morrison Chang Oct 28 '16 at 20:50
  • Alright. then, why does blocking bad apps also require blocking the end-user from using the screenshot facility? – bgoodr Oct 28 '16 at 22:27
  • I'm guessing that FLAG_SECURE was originally for DRM. It was only later that the buttons were assigned for user initiated screenshot: android.stackexchange.com/questions/1759/… . I expect that the original function was left in, but with an actual API to screencap a device the flag is now valuable for blocking private content – Morrison Chang Oct 29 '16 at 2:06
  • In the scenario I encountered, the LastPass browser was the only application I encountered that was blocking me from taking screenshots. The solution that did not require rooting was LastPass's support: 'You can enable taking a screenshot of the LastPass app/browser by going to LastPass menu> Settings> Security and look for "Allow screenshots of this app".' However the comment responses here are useful for future reference, so thanks! – bgoodr Oct 30 '16 at 16:59

Browse other questions tagged or ask your own question.