title: Android: Activity gets destroyed and recreated when long pressing the home button?
body: <p>I am launching an app when clicked on a url. I have a separate Launcher activity. This activity checks the state of the application and launches it using the Intent flags FLAG_ACTIVITY_NEW_TASK.</p>
  
  <p>Flow of app while join via url:</p>
  
  <p>Launcher(FLAG_ACTIVITY_NEW_TASK) -> A -> B</p>
  
  <p>The launcher get destroyed once it launches the app.</p>
  
  <p>If I press Home and put the app to background, then the A and B activity Stop() is called.
  When I press long home and return to the app then activity A and get B is destroyed and get created again.</p>
  
  <p>I dont want the activity to get destroyed when I click on long home. I want its onResume to be called and not get destroyed and get created.</p>
  
  <p>Thanks</p>