Don't try to normalize phone numbers
This commit is contained in:
parent
35617a6eb4
commit
8ca7a7b507
@ -105,8 +105,7 @@ internal class ContactRepository(
|
||||
}
|
||||
|
||||
ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE ->
|
||||
dataCursor.getStringOrNull(numberColumn)?.let {
|
||||
val phone = it.replace(Regex("[^+0-9],"), "")
|
||||
dataCursor.getStringOrNull(numberColumn)?.let { phone ->
|
||||
phoneNumbers += PhoneNumber(
|
||||
phone,
|
||||
when (dataCursor.getInt(typeColumn)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user