Permalink
Browse files

Fix handling of the back stack when opened from a shortcut.

  • Loading branch information...
1 parent 1f44f26 commit f1b95f327303d9d57e6fccefa14d4c75dc6031f7 @johannilsson committed Jul 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/markupartist/sthlmtraveling/BaseListActivity.java
@@ -51,7 +51,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
final Intent startIntent = new Intent(this, StartActivity.class);
- startIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
+ startIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(startIntent);
return true;
}

0 comments on commit f1b95f3

Please sign in to comment.