Fix missing contacts update
This commit is contained in:
parent
aeed3f4d45
commit
4f07e0da05
1 changed files with 1 additions and 4 deletions
|
@ -99,10 +99,7 @@ public class EditContactFragment extends Fragment {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
getActivity().getContentResolver().applyBatch(ContactsContract.AUTHORITY, ops);
|
getActivity().getContentResolver().applyBatch(ContactsContract.AUTHORITY, ops);
|
||||||
|
LinphoneActivity.instance().prepareContactsInBackground();
|
||||||
if (isNewContact) {
|
|
||||||
LinphoneActivity.instance().prepareContactsInBackground();
|
|
||||||
}
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue