diff --git a/app/build.gradle b/app/build.gradle index da323a24..3c86eb36 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -63,7 +63,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:ac7e52249a' + implementation 'com.github.SimpleMobileTools:Simple-Commons:4aa0b9aaad' implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/contentproviders/MyContactsContentProvider.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/contentproviders/MyContactsContentProvider.kt index 5511ea4b..193a94c5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/contentproviders/MyContactsContentProvider.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/contentproviders/MyContactsContentProvider.kt @@ -17,14 +17,16 @@ class MyContactsContentProvider : ContentProvider() { if (context == null || !context!!.config.showPrivateContacts) { return null } else { - val matrixCursor = MatrixCursor(arrayOf( - MyContactsContentProvider.COL_RAW_ID, - MyContactsContentProvider.COL_CONTACT_ID, - MyContactsContentProvider.COL_NAME, - MyContactsContentProvider.COL_PHOTO_URI, - MyContactsContentProvider.COL_PHONE_NUMBERS, - MyContactsContentProvider.COL_BIRTHDAYS, - MyContactsContentProvider.COL_ANNIVERSARIES) + val matrixCursor = MatrixCursor( + arrayOf( + MyContactsContentProvider.COL_RAW_ID, + MyContactsContentProvider.COL_CONTACT_ID, + MyContactsContentProvider.COL_NAME, + MyContactsContentProvider.COL_PHOTO_URI, + MyContactsContentProvider.COL_PHONE_NUMBERS, + MyContactsContentProvider.COL_BIRTHDAYS, + MyContactsContentProvider.COL_ANNIVERSARIES + ) ) val favoritesOnly = selectionArgs?.getOrNull(0)?.equals("1") ?: false