Simplify code.

Change-Id: I6c783afb9c436a35176134bfe7ae5264f2255b2f
This commit is contained in:
Danny Baumann 2015-06-09 15:32:09 +02:00 committed by Steve Kondik
parent 293eb14692
commit f364a9b70d
1 changed files with 1 additions and 3 deletions

View File

@ -422,9 +422,7 @@ public class ImapService extends Service {
if (!registered) {
registered = registerMailboxForIdle(context, account, mailbox);
}
if (!hasSyncMailboxes && registered) {
hasSyncMailboxes = registered;
}
hasSyncMailboxes |= registered;
}
// Sync the inbox