title: Android Activity Intent remains after shutdown
body: <p><strong>SETUP</strong> One Activity, SingleTop, receives an intent from a notification. Intent is consumed by activity. User hits back button to end the activity. onDestory gets called and isFinishing() returns true. Long press Home key to bring up recent apps. Launch previously closed application.</p>
  
  <p>Similar situation occurs with onNewIntent when onStop is called after user presses home key on activity.</p>
  
  <p><strong>Problem</strong> Upon recreation of the activity after it's finished, the same intent from the notification is used. I don't want this. Is there a way to tell the system that we already consumed that notification so stop giving it to the activity? Work around? Suggestions?</p>
  
  <p><strong>What I have Tried</strong> </p>
  
  <ol>
  <li>I tried to remove extras from the intent. Not working.
  <a href="https://stackoverflow.com/questions/5032098/clearning-activitys-intent-data-randomly-comes-back-why">Clearning Activity&#39;s intent data randomly comes back, why?</a></li>
  <li>I tried to saveInstanceState() to keep a time stamp on intents. However onIstanceState(Bundle) is removed (null in onCreate) when activity is destroyed.</li>
  <li>I tried to set intent to null in activity but that does not work</li>
  </ol>
  
  <p>This question is very similar to this one: <a href="http://grokbase.com/t/gg/android-developers/119jyzf492/getintent-removeextra-in-activity-doesnt-work-for-android-launchmode-%E2%80%9Csingletask%E2%80%9D" rel="nofollow noreferrer">http://grokbase.com/t/gg/android-developers/119jyzf492/getintent-removeextra-in-activity-doesnt-work-for-android-launchmode-“singletask”</a></p>