Anyone knows how to hide the content of your app when the user goes in the Current Apps Manager? Like this is link is explaining for ios : http://pinkstone.co.uk/how-to-control-the-preview-screenshot-in-the-ios-multitasking-switcher/
Thanks!
Somehow this did not work for me.. even though I read it was supposed to.
android:excludeFromRecents="true"
However, using this in your activity will do the trick:
getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE);
Thanks for your answers CommonWare & NavjotSingh
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With