From df9afc4e7f20959d52b2ab722fa2fd1325101a13 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Mon, 14 Apr 2014 14:48:51 -0700 Subject: [PATCH] revert RoutingActivity flags // FREEBIE --- src/org/thoughtcrime/securesms/RoutingActivity.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/org/thoughtcrime/securesms/RoutingActivity.java b/src/org/thoughtcrime/securesms/RoutingActivity.java index 711d237e0a..d89fa6c8ae 100644 --- a/src/org/thoughtcrime/securesms/RoutingActivity.java +++ b/src/org/thoughtcrime/securesms/RoutingActivity.java @@ -132,19 +132,10 @@ public class RoutingActivity extends PassphraseRequiredSherlockActivity { final Intent intent; if (isShareAction()) { intent = getShareIntent(parameters); - intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { - intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK); - } } else if (parameters.recipients != null) { intent = getConversationIntent(parameters); - intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); } else { intent = getConversationListIntent(); - intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { - intent.addFlags(Intent.FLAG_ACTIVITY_TASK_ON_HOME); - } } startActivity(intent); finish();