Clear INITIAL_SYNC_NEEDED status after first sync

Change-Id: I9d7a3ae4d3dbbc4af82aae8405fa7e4e38bc8f34
This commit is contained in:
Marc Blank 2012-04-13 12:21:42 -07:00
parent 83ecabc8b2
commit 3dce9c07be

View File

@ -2512,6 +2512,7 @@ outer:
if (mailboxId != Mailbox.NO_MAILBOX) {
values.put(UIProvider.AccountColumns.SettingsColumns.DEFAULT_INBOX,
uiUriString("uifolder", mailboxId));
values.put(UIProvider.AccountColumns.SYNC_STATUS, UIProvider.SyncStatus.NO_SYNC);
} else {
values.put(UIProvider.AccountColumns.SYNC_STATUS,
UIProvider.SyncStatus.INITIAL_SYNC_NEEDED);