Anton_Limhamn
Lurker
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
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