title: startActivity in onPause() not working after opening new app
body: <p>I Start a second activity when my first activity is paused.</p>
  
  <p><em>FirstActivity.java</em></p>
  
  <pre><code>@Override
  public void onPause(){
      super.onPause();
      startActivity(new Intent(this, SecondActivity.class));
  }
  </code></pre>
  
  <p>When I press on the homescreen button, SecondActivity will start but with a delay. In this delay, there is enough time to open a new app (like messenger for instance). However, when I open a new app, SecondActivity will not start anymore (it won't even call the onCreate method of SecondActivity). </p>
  
  <p>How can i still start SecondActivity even when I open a new app?</p>