parent
2bed1531c2
commit
e5c7f0981d
|
@ -90,6 +90,8 @@ public class ContactsDictionary extends ExpandableDictionary {
|
|||
if (cursor.moveToFirst()) {
|
||||
while (!cursor.isAfterLast()) {
|
||||
String name = cursor.getString(INDEX_NAME);
|
||||
|
||||
if (name != null) {
|
||||
int len = name.length();
|
||||
|
||||
// TODO: Better tokenization for non-Latin writing systems
|
||||
|
@ -115,6 +117,7 @@ public class ContactsDictionary extends ExpandableDictionary {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cursor.moveToNext();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue