Android Activity Intent remains after shutdown
===

**SETUP** 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.

Similar situation occurs with onNewIntent when onStop is called after user presses home key on activity.

**Problem** 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?

**What I have Tried** 

 1. I tried to remove extras from the intent. Not working.
http://stackoverflow.com/questions/5032098/clearning-activitys-intent-data-randomly-comes-back-why
 2. I tried to saveInstanceState() to keep a time stamp on intents. However onIstanceState(Bundle) is removed (null in onCreate) when activity is destroyed.
 3. I tried to set intent to null in activity but that does not work



This question is very similar to this one: [http://grokbase.com/t/gg/android-developers/119jyzf492/getintent-removeextra-in-activity-doesnt-work-for-android-launchmode-“singletask”][1]


  [1]: http://grokbase.com/t/gg/android-developers/119jyzf492/getintent-removeextra-in-activity-doesnt-work-for-android-launchmode-%E2%80%9Csingletask%E2%80%9D

