title: Prevent an app to show on recent application list on android kitkat 4.4.2
body: <p>I was just bored of iOS and I recently changed to Android. I have a Nexus 5 device, and I've just finished installing my favourite apps in my device.</p>
  
  <p>One of those apps is Line, the famous communication app from naver. I installed it and I configured it with a passcode in order to secure access to it, so no one despite me could see the "confidential" conversations inside.</p>
  
  <p>The problem is even if I have the passcode enabled on line, if someone presses the "Recent list applications" button, they can see perfectly a screenshot of Line with my last conversation, so anyone could see what I was doing in Line.</p>
  
  <p>I made the same test on iPhone and .. surprise ... iOS is taking the snapshot AFTER the passcode screen is enabled, so anyone could see nothing. It seems that in Android the snapshot is taken BEFORE passcode screen is enabled so anyone could see what last line screen looks like :)</p>
  
  <p>So, having read other threads on this forums, I'm supposed to have several ways to solve this:</p>
  
  <ul>
  <li>Wait for LINE's company NAVER to add an option to prevent this app to show on recent app list (adding android:excludeFromRecents="true" on THEIR manifest) [that won't be soon]</li>
  <li>Wait for LINE's company NAVER to force the snapshot after passcode screen is enabled  [maybe soon but not in company'sroadmap]</li>
  <li>Decompile apk and change manifest on my own - or use FLAG_SECURE - (I tried it but when I launch the new app it suddenly dies on startup with a message "Application stopped". I thing LINE's server verifies on startup that the client app is what is expected to be, comparing sizes or something else)</li>
  </ul>
  
  <p>So I don't know more ways to get around this. Do you have any more idea? I'm stucked on it.</p>
  
  <p>Thank you a lot.</p>