Update MyContactsContentProvider.kt
This commit is contained in:
parent
0f9af3e305
commit
c3dbd7f1f1
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" && packageName != "com.simplemobiletools.commons") {
|
||||
if (packageName != "com.simplemobiletools.dialer" && packageName != "com.simplemobiletools.smsmessenger" && packageName != "com.simplemobiletools.calendar.pro") {
|
||||
return contacts
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue