From d19b934e9ed1737635594176b70f76c007f9df19 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 19 Oct 2017 15:32:31 +0200 Subject: [PATCH] Added back findContactsByChar --- src/android/org/linphone/SearchContactsListAdapter.java | 5 ++--- submodules/linphone | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/android/org/linphone/SearchContactsListAdapter.java b/src/android/org/linphone/SearchContactsListAdapter.java index 2bdd07058..ad9e4d8b4 100644 --- a/src/android/org/linphone/SearchContactsListAdapter.java +++ b/src/android/org/linphone/SearchContactsListAdapter.java @@ -114,8 +114,7 @@ public class SearchContactsListAdapter extends BaseAdapter { public List getContactsList() { List list = new ArrayList(); if (ContactsManager.getInstance().hasContacts()) { - //TODO FIXME - /*for (Address addr : LinphoneManager.getLc().findContactsByChar("", mOnlySipContact)) { + for (Address addr : LinphoneManager.getLc().findContactsByChar("", mOnlySipContact)) { LinphoneContact cont = ContactsManager.getInstance().findContactFromAddress(addr); if (cont == null) { cont = new LinphoneContact(); @@ -125,7 +124,7 @@ public class SearchContactsListAdapter extends BaseAdapter { // TODO Rechercher si un displayname est associé à cette sip uri ContactAddress ca = new ContactAddress(cont , addr.asString(), cont.isFriend()); list.add(ca); - }*/ + } } for (ContactAddress caS : contactsSelected) { diff --git a/submodules/linphone b/submodules/linphone index ddf3fe65e..f291076f8 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit ddf3fe65e2941763c936e8d2c6da23ae1e22bc90 +Subproject commit f291076f8816ca634b4e815eded9786a96e9f28a