allow Simple Commons accessing private contacts too
This commit is contained in:
parent
96657700f5
commit
1436c85a29
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class MyContactsContentProvider {
|
|||
fun getSimpleContacts(context: Context, cursor: Cursor?): ArrayList<SimpleContact> {
|
||||
val contacts = ArrayList<SimpleContact>()
|
||||
val packageName = context.packageName.removeSuffix(".debug")
|
||||
if (packageName != "com.simplemobiletools.dialer" && packageName != "com.simplemobiletools.smsmessenger" && packageName != "com.simplemobiletools.calendar.pro") {
|
||||
if (packageName != "com.simplemobiletools.dialer" && packageName != "com.simplemobiletools.smsmessenger" && packageName != "com.simplemobiletools.calendar.pro" && packageName != "com.simplemobiletools.commons") {
|
||||
return contacts
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue