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;
|
return mFriend;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createOrUpdateFriend() {
|
private synchronized void createOrUpdateFriend() {
|
||||||
boolean created = false;
|
boolean created = false;
|
||||||
Core core = LinphoneManager.getCore();
|
Core core = LinphoneManager.getCore();
|
||||||
if (core == null) return;
|
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");
|
Log.d("[Contact] Trying to update native contact with presence information");
|
||||||
// Creation of the raw contact with the presence information (tablet)
|
// Creation of the raw contact with the presence information (tablet)
|
||||||
createRawLinphoneContactFromExistingAndroidContactIfNeeded();
|
createRawLinphoneContactFromExistingAndroidContactIfNeeded();
|
||||||
|
|
Loading…
Reference in a new issue