Added missing synchronized
This commit is contained in:
parent
35a2010488
commit
0f3061c928
1 changed files with 2 additions and 2 deletions
|
@ -321,7 +321,7 @@ public class LinphoneContact extends AndroidContact
|
|||
return mFriend;
|
||||
}
|
||||
|
||||
private void createOrUpdateFriend() {
|
||||
private synchronized void createOrUpdateFriend() {
|
||||
boolean created = false;
|
||||
Core core = LinphoneManager.getCore();
|
||||
if (core == null) return;
|
||||
|
@ -563,7 +563,7 @@ public class LinphoneContact extends AndroidContact
|
|||
}
|
||||
}
|
||||
|
||||
public void updateNativeContactWithPresenceInfo() {
|
||||
public synchronized void updateNativeContactWithPresenceInfo() {
|
||||
Log.d("[Contact] Trying to update native contact with presence information");
|
||||
// Creation of the raw contact with the presence information (tablet)
|
||||
createRawLinphoneContactFromExistingAndroidContactIfNeeded();
|
||||
|
|
Loading…
Reference in a new issue