title: Always launch new activity instance with no history
body: <p>Is there a way to launch an activity as a new instance with no history?</p>
  
  <p>Tried the following in the manifest file.</p>
  
  <pre><code>android:launchmode="singleinstance"
  android:noHistory=true
  </code></pre>
  
  <p>I am able to achieve what I need, but as soon as the screen is locked the previous activity is displayed. That's what <code>noHistory</code> is supposed to do, but not what I need.</p>
  
  <p>Keeping the screen on always would not be preferable as it would drain the battery unnecessarily. Is there any other way to start an activity with a new instance and have no history but also work when the screen is locked?</p>