Removed TASK_ON_HOME flag from intent created from share

This commit is contained in:
Alethea Butler 2014-05-31 13:33:46 -04:00
parent d67d792409
commit 97957bcfb9
1 changed files with 3 additions and 1 deletions

View File

@ -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);