Requesting READ_PROFILE permission at runtime

Viewed 5184

According to the Android documentation (https://developer.android.com/reference/android/provider/ContactsContract.Profile.html), I need to request the android.permission.READ_PROFILE permission to read the user's profile information.

However, when I attempt to create runtime permission request, there is no Manifest.permission.READ_PROFILE I can use. Do I just use the Manifest.permission.READ_CONTACTS permission instead?

Note: The AndroidManifest.xml file can find the permission just fine:

<uses-permission android:name="android.permission.READ_PROFILE" />
1 Answers
Related