From fd42df6fc0b27f456b04ab8545c32f50a262ba16 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Tue, 9 Jun 2015 15:30:57 +0200 Subject: [PATCH] Reset idling flag when cancelling early due to being cancelled. Change-Id: Idde5f3a3fa04a1aa80ef4cdb9e3ba1ab01d3fcb5 --- provider_src/com/android/email/mail/store/ImapFolder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/provider_src/com/android/email/mail/store/ImapFolder.java b/provider_src/com/android/email/mail/store/ImapFolder.java index 7feeb285a..51e99d97a 100644 --- a/provider_src/com/android/email/mail/store/ImapFolder.java +++ b/provider_src/com/android/email/mail/store/ImapFolder.java @@ -251,6 +251,7 @@ public class ImapFolder extends Folder { // the server to listen for new changes) synchronized (mIdleSync) { if (mIdlingCancelled) { + mIdling = false; return; } }