@Override protected void doAddPhonebookIntoContact() { if (orm.isEnableSyncPhonebook() == false) { Message msg = handler.obtainMessage(SYNC_PHONEBOOK_ONE_ADDRESSBOOK); msg.getData().putLong("uid", phonebook.uid); SyncAddressBookHelper.processSyncAddressBook(mContext, true, null, msg); } else { Log.d(TAG, "sync phonebook to contact=" + phonebook); Message msg = handler.obtainMessage(SYNC_PHONEBOOK_ONE_ADDRESSBOOK); msg.getData().putLong("uid", phonebook.uid); SyncAddressBookHelper.checkIsEnableAddressbookSync(mContext, orm, msg); } }