mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
reference the release version of Simple Contacts
This commit is contained in:
@ -108,7 +108,7 @@ class ContactsFragment(context: Context, attributeSet: AttributeSet) : MyViewPag
|
||||
val publicUri = Uri.withAppendedPath(ContactsContract.Contacts.CONTENT_LOOKUP_URI, lookupKey)
|
||||
|
||||
// handle private contacts differently, only Simple Contacts Pro can open them
|
||||
val simpleContacts = "com.simplemobiletools.contacts.pro.debug"
|
||||
val simpleContacts = "com.simplemobiletools.contacts.pro"
|
||||
if (lookupKey.isEmpty() && it.rawId > 1000000 && it.contactId > 1000000 && it.rawId == it.contactId && context.isPackageInstalled(simpleContacts)) {
|
||||
Intent().apply {
|
||||
action = Intent.ACTION_VIEW
|
||||
|
Reference in New Issue
Block a user