clear pending view intent when processing onNewIntent()

This commit is contained in:
Daniel Gultsch 2019-01-02 09:32:22 +01:00
parent d414f85ec0
commit a849c34f56
1 changed files with 1 additions and 0 deletions

View File

@ -529,6 +529,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
protected void onNewIntent(final Intent intent) { protected void onNewIntent(final Intent intent) {
if (isViewOrShareIntent(intent)) { if (isViewOrShareIntent(intent)) {
if (xmppConnectionService != null) { if (xmppConnectionService != null) {
clearPendingViewIntent();
processViewIntent(intent); processViewIntent(intent);
} else { } else {
pendingViewIntent.push(intent); pendingViewIntent.push(intent);