Reset idling flag when cancelling early due to being cancelled.
Change-Id: Idde5f3a3fa04a1aa80ef4cdb9e3ba1ab01d3fcb5
This commit is contained in:
parent
cd69d44da0
commit
fd42df6fc0
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user