title: Clearing the full Android activity stack on older SDKs (that lack FLAG_ACTIVITY_CLEAR_TASK)
body: <p>I've done qui a bit of reading and searching on SO, but can't find a way to <strong>clear the current activity stack</strong>. The context of my app is an activity started by a a background service / notification.</p>
  
  <p>Imagine that my app allows you to organise a list of people. A few hours ago, you were viewing <em>person X</em> in the "View" activity, that's now the top of your stack. At some point in the future, the service triggers and I popup a new "Notify" activity for <em>person Y</em>. From there you can edit person Y's details.</p>
  
  <p>When you finish this activity, it would be a confusing user experience to pop the stack and end up viewing person X. Ideally I'd like to go back to whatever the user was doing (email etc...), or at least to my app's home.</p>
  
  <p>I tried starting "Notify" with <code>FLAG_ACTIVTY_NEW_TASK</code> but that doesn't seem to help: <strong>when the task finishes it simply goes back to the previous task</strong>. What I want seems to be Android 3's new <code>FLAG_ACTIVITY_CLEAR_TASK</code>, which doesn't exist in previous SDKs.</p>
  
  <p>Does anyone have a suggestion to achieve that?</p>