mirror of
https://github.com/etesync/android
synced 2024-12-23 07:08:16 +00:00
AccountSettings: remove wrong version set.
This was a leftover from the cherry-pick from DAVdroid. The version is set outside of this function, so this was redundant, and wrong.
This commit is contained in:
parent
643e2b23ea
commit
a107cd3fa2
@ -311,9 +311,6 @@ public class AccountSettings {
|
||||
throw new ContactsStorageException("Couldn't migrate contacts to new address book", e);
|
||||
}
|
||||
|
||||
// update version number so that further syncs don't repeat the migration
|
||||
accountManager.setUserData(account, KEY_SETTINGS_VERSION, "6");
|
||||
|
||||
// request sync of new address book account
|
||||
ContentResolver.setIsSyncable(account, App.getAddressBooksAuthority(), 1);
|
||||
setSyncInterval(App.getAddressBooksAuthority(), Constants.DEFAULT_SYNC_INTERVAL);
|
||||
|
Loading…
Reference in New Issue
Block a user