title: Need to Hide information in an activity or a fragment when app running in background
body: <p><a href="https://i.stack.imgur.com/MmynB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MmynB.png" alt="enter image description here"></a></p>
  
  <p>i am using one app, for example chrome with some confidential information and i am switching it to background &amp; i am trying to <strong>kill</strong> the app. </p>
  
  <p>i uploaded the example image when trying to kill the app. even the session the expired it won't close the information in the <strong>killing stage</strong> when app comes foreground then only it closes the information. i want the info should be closed or hided when it goes <strong>background (In killing stage)</strong>. </p>
  
  <p>i searched in google i am not getting anything related to this and i don't know whether my search phrase is correct. can anyone pleas help me.</p>