-1

I want to request for the permission android.permission.READ_EXTERNAL_STORAGE for getting Media data.

But before requesting for that permission, i want to know whether it is blocked by the user by checking "Never ask again" check box.

Is there a proper way to know "Never ask again" for a permission?

So if I can understand whether "Never show again" is clicked or not.

Mandeep Yadav
  • 707
  • 6
  • 17

1 Answers1

1

Look like similar question has been asked before you can get your answer here How Do We Distinguish Never-Asked From Stop-Asking in Android M's Runtime Permissions?

Community
  • 1
  • 1
Geek
  • 1,510
  • 14
  • 17