Applications which go to background are screenshoted per default for a better user experience. Unfortunately other apps can access these saved screenshots and may discover sensitive data such as banking information, passwords or personal information.
All applications in the background can be viewed (screenhots done).
FLAG_SECURE to hide the screen in background. The app in the middle shows just a black/ white screen.