• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

READ_MEDIA_AUDIO

I adapted to the new permissions and wanted to check if the READ_MEDIA_AUDIO was set by calling
if(ContextCompat.checkSelfPermission(getApplicationContext(), android.Manifest.permission.READ_MEDIA_AUDIO
!= PackageManager.PERMISSION_GRANTED)
But the new permissions are not in the list of android.Manifest.permission so this won't compile.
I've googled for the answer for a couple of hours now... Anybody knows how to handle this?
/Anton
 
Back
Top Bottom