Update contacts package name
This commit is contained in:
parent
2cd6aacb61
commit
6157bc5689
2 changed files with 4 additions and 4 deletions
|
|
@ -25,8 +25,8 @@
|
|||
tools:node="remove" />
|
||||
|
||||
<queries>
|
||||
<package android:name="com.simplemobiletools.contacts.pro.debug" />
|
||||
<package android:name="com.simplemobiletools.contacts.pro" />
|
||||
<package android:name="org.fossify.contacts.debug" />
|
||||
<package android:name="org.fossify.contacts" />
|
||||
</queries>
|
||||
|
||||
<uses-feature android:name="android.hardware.telephony" />
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@ fun Activity.launchViewIntent(uri: Uri, mimetype: String, filename: String) {
|
|||
}
|
||||
|
||||
fun Activity.startContactDetailsIntent(contact: SimpleContact) {
|
||||
val simpleContacts = "com.simplemobiletools.contacts.pro"
|
||||
val simpleContactsDebug = "com.simplemobiletools.contacts.pro.debug"
|
||||
val simpleContacts = "org.fossify.contacts"
|
||||
val simpleContactsDebug = "org.fossify.contacts.debug"
|
||||
if (contact.rawId > 1000000 && contact.contactId > 1000000 && contact.rawId == contact.contactId &&
|
||||
(isPackageInstalled(simpleContacts) || isPackageInstalled(simpleContactsDebug))
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue