Reset idling flag when cancelling early due to being cancelled.

Change-Id: Idde5f3a3fa04a1aa80ef4cdb9e3ba1ab01d3fcb5
This commit is contained in:
Danny Baumann 2015-06-09 15:30:57 +02:00 committed by Steve Kondik
parent cd69d44da0
commit fd42df6fc0

View File

@ -251,6 +251,7 @@ public class ImapFolder extends Folder {
// the server to listen for new changes) // the server to listen for new changes)
synchronized (mIdleSync) { synchronized (mIdleSync) {
if (mIdlingCancelled) { if (mIdlingCancelled) {
mIdling = false;
return; return;
} }
} }