diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-01-25 23:33:36 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-01-25 23:33:36 +0100 |
commit | 1aa574b7db21a54c12dba981eb4fb98e84f31c72 (patch) | |
tree | 79ebf57396dd2f4155a0908b5c614693bb423669 /src | |
parent | 3a5e1fd0c3805c7acb6b869fc03e1b76b0bf494f (diff) |
use clear top flag in shortcut intent
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/ShortcutService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/services/ShortcutService.java b/src/main/java/de/pixart/messenger/services/ShortcutService.java index fa4853665..94bbc15cd 100644 --- a/src/main/java/de/pixart/messenger/services/ShortcutService.java +++ b/src/main/java/de/pixart/messenger/services/ShortcutService.java @@ -123,6 +123,7 @@ public class ShortcutService { intent.setAction(Intent.ACTION_VIEW); intent.setData(Uri.parse("xmpp:" + contact.getJid().asBareJid().toString())); intent.putExtra("account", contact.getAccount().getJid().asBareJid().toString()); + intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); return intent; } |