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<>();
|
List<ContactAddress> result = new ArrayList<>();
|
||||||
|
|
||||||
String searchAddress = "sip:" + search + "@" + LinphoneManager.getLc().getDefaultProxyConfig().getDomain();
|
String searchAddress = "sip:" + search + "@" + LinphoneManager.getLc().getDefaultProxyConfig().getDomain();
|
||||||
|
if (search.contains("@") || search.startsWith("sip:")) {
|
||||||
|
searchAddress = search;
|
||||||
|
}
|
||||||
|
|
||||||
boolean searchFound = false;
|
boolean searchFound = false;
|
||||||
if (search != null) {
|
if (search != null) {
|
||||||
|
|
Loading…
Reference in a new issue