From 2d59b72f259ffb15b97d2d459d483b2a69a6f112 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 19 Jun 2020 10:51:09 +0200 Subject: [PATCH] reference the release version of Simple Contacts --- .../com/simplemobiletools/dialer/fragments/ContactsFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/dialer/fragments/ContactsFragment.kt b/app/src/main/kotlin/com/simplemobiletools/dialer/fragments/ContactsFragment.kt index cae1041b..d9731691 100644 --- a/app/src/main/kotlin/com/simplemobiletools/dialer/fragments/ContactsFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/dialer/fragments/ContactsFragment.kt @@ -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