From b77dfa000428fe860513d815ab7073df7a160f5e Mon Sep 17 00:00:00 2001 From: Philip Whitehouse Date: Wed, 4 Jan 2017 00:58:46 +0000 Subject: [PATCH] Don't bother handling an intent if we're finishing anyway --- k9mail/src/main/java/com/fsck/k9/activity/MessageList.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/k9mail/src/main/java/com/fsck/k9/activity/MessageList.java b/k9mail/src/main/java/com/fsck/k9/activity/MessageList.java index 59f7dd8fe..0ebbe923a 100644 --- a/k9mail/src/main/java/com/fsck/k9/activity/MessageList.java +++ b/k9mail/src/main/java/com/fsck/k9/activity/MessageList.java @@ -241,6 +241,10 @@ public class MessageList extends K9Activity implements MessageListFragmentListen public void onNewIntent(Intent intent) { super.onNewIntent(intent); + if (isFinishing()) { + return; + } + setIntent(intent); if (mFirstBackStackId >= 0) {