Simplify code.
Change-Id: I6c783afb9c436a35176134bfe7ae5264f2255b2f
This commit is contained in:
parent
293eb14692
commit
f364a9b70d
@ -422,9 +422,7 @@ public class ImapService extends Service {
|
|||||||
if (!registered) {
|
if (!registered) {
|
||||||
registered = registerMailboxForIdle(context, account, mailbox);
|
registered = registerMailboxForIdle(context, account, mailbox);
|
||||||
}
|
}
|
||||||
if (!hasSyncMailboxes && registered) {
|
hasSyncMailboxes |= registered;
|
||||||
hasSyncMailboxes = registered;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sync the inbox
|
// Sync the inbox
|
||||||
|
Loading…
Reference in New Issue
Block a user