Use lookup key to load contacts

This commit is contained in:
Naveen 2022-11-06 21:00:35 +05:30
parent 6f58903cf2
commit b6407dc49b
2 changed files with 12 additions and 12 deletions

View file

@ -853,7 +853,7 @@ class ThreadActivity : SimpleActivity() {
private fun launchPickContactIntent() {
Intent(Intent.ACTION_PICK).apply {
type = ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE
type = ContactsContract.Contacts.CONTENT_TYPE
launchActivityForResult(this, PICK_CONTACT_INTENT)
}
}