Fix crash when typing non-ascii characters in search bar
This commit is contained in:
parent
9c4be3f518
commit
6e5d3f5a94
2 changed files with 5 additions and 3 deletions
|
@ -86,7 +86,9 @@ public class SearchContactsListAdapter extends BaseAdapter {
|
|||
|
||||
private boolean contactIsSelected(ContactAddress ca) {
|
||||
for (ContactAddress c : contactsSelected) {
|
||||
if (c.getAddress().asStringUriOnly().compareTo(ca.getAddress().asStringUriOnly()) == 0) return true;
|
||||
Address addr = c.getAddress();
|
||||
if (addr == null) continue;
|
||||
if (addr.asStringUriOnly().compareTo(ca.getAddress().asStringUriOnly()) == 0) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9c904e7982c661b5a96fa34cbb3aa793e98cf7a8
|
||||
Subproject commit 2fb4ce6ffc3657719e88c2ae7c97e9f17730962a
|
Loading…
Reference in a new issue