aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlethea Butler <alethea@alethea.io>2014-05-31 13:33:46 -0400
committerAlethea Butler <alethea@alethea.io>2014-05-31 13:33:46 -0400
commit97957bcfb9d5095aa1a981936ce0257b88769e99 (patch)
tree7ae3d65902cba98f108a4e0899a99a078c020e33
parentd67d792409d2f7ab990be2f698c8e00bf7e787b9 (diff)
Removed TASK_ON_HOME flag from intent created from share
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/ui/XmppActivity.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/XmppActivity.java b/src/eu/siacs/conversations/ui/XmppActivity.java
index 7c8c46b2..81092b22 100644
--- a/src/eu/siacs/conversations/ui/XmppActivity.java
+++ b/src/eu/siacs/conversations/ui/XmppActivity.java
@@ -156,7 +156,9 @@ public abstract class XmppActivity extends Activity {
}
viewConversationIntent.setType(ConversationActivity.VIEW_CONVERSATION);
if (newTask) {
- viewConversationIntent.setFlags(viewConversationIntent.getFlags() | Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_TASK_ON_HOME );
+ viewConversationIntent.setFlags(viewConversationIntent.getFlags()
+ | Intent.FLAG_ACTIVITY_NEW_TASK
+ | Intent.FLAG_ACTIVITY_SINGLE_TOP);
} else {
viewConversationIntent.setFlags(viewConversationIntent.getFlags()
| Intent.FLAG_ACTIVITY_CLEAR_TOP);