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
1 changed files with 1 additions and 0 deletions

View File

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