mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-21 13:48:11 +00:00
Added possibility to enter a sip address manually in search adapter
This commit is contained in:
parent
2c4fcf0bb4
commit
9752131770
1 changed files with 3 additions and 0 deletions
|
|
@ -159,6 +159,9 @@ public class SearchContactsListAdapter extends BaseAdapter {
|
|||
List<ContactAddress> result = new ArrayList<>();
|
||||
|
||||
String searchAddress = "sip:" + search + "@" + LinphoneManager.getLc().getDefaultProxyConfig().getDomain();
|
||||
if (search.contains("@") || search.startsWith("sip:")) {
|
||||
searchAddress = search;
|
||||
}
|
||||
|
||||
boolean searchFound = false;
|
||||
if (search != null) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue