Updated liblinphone + do not use createLinphoneFriend from LinphoneCoreFactory
This commit is contained in:
parent
6f3059444f
commit
d04bcdb9f6
3 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ public class WrapperTester extends AndroidTestCase {
|
|||
|
||||
//Test LinphoneFriend ref key
|
||||
String key = "12";
|
||||
LinphoneFriend friend = LinphoneCoreFactory.instance().createLinphoneFriend("sip:lala@test.linphone.org");
|
||||
LinphoneFriend friend = mCore.createFriendWithAddress("sip:lala@test.linphone.org");
|
||||
friend.setRefKey(key);
|
||||
Assert.assertEquals(friend.getRefKey(),key);
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ public class TutorialCardDavSync extends Activity implements OnClickListener, Li
|
|||
lfl = lc.createLinphoneFriendList();
|
||||
lc.addFriendList(lfl);
|
||||
|
||||
LinphoneFriend lf = LinphoneCoreFactory.instance().createLinphoneFriend("sip:ghislain@sip.linphone.org");
|
||||
LinphoneFriend lf = lc.createFriendWithAddress("sip:ghislain@sip.linphone.org");
|
||||
lf.setName("Ghislain");
|
||||
lfl.addLocalFriend(lf); // This is a local friend, it won't be sent to the CardDAV server and will be removed at the next synchronization
|
||||
} catch (LinphoneCoreException e) {
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit c5bce292df15812c68cc2c0487b836e28d76250c
|
||||
Subproject commit c23ac67e0e989fcc0e483d4b046f913a41dc0027
|
Loading…
Reference in a new issue