user12921
user12921
@cketti According to https://developer.android.com/reference/android/provider/ContactsContract.Directory: "Access to Contacts Provider is protected by the READ_CONTACTS permission, but access to the directory provider is protected by BIND_DIRECTORY_SEARCH." K9Mail only requests READ_CONTACTS, so this...
Indeed, thats interesting. I just checked the Lineage dialer, which can access the Google directory, but also does not request BIND_DIRECTORY_SEARCH. This might be helpful: https://github.com/LineageOS/android_packages_apps_Dialer/blob/lineage-21.0/java/com/android/dialer/phonelookup/cp2/Cp2ExtendedDirectoryPhoneLookup.java In queryCp2ForExtendedDirectoryIds they seem...