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 ->
|
ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE ->
|
||||||
dataCursor.getStringOrNull(numberColumn)?.let {
|
dataCursor.getStringOrNull(numberColumn)?.let { phone ->
|
||||||
val phone = it.replace(Regex("[^+0-9],"), "")
|
|
||||||
phoneNumbers += PhoneNumber(
|
phoneNumbers += PhoneNumber(
|
||||||
phone,
|
phone,
|
||||||
when (dataCursor.getInt(typeColumn)) {
|
when (dataCursor.getInt(typeColumn)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user