title: How to get all granted permissions of a app
body: <p>I want to get all granted permissions. I know I can get all requested permissions by <code>packageinfo.requestedPermissions</code> but I want to know list of granted permissions and granted permissions can be lesser then requested in case of android M. So I just wanted to know that is there way that I can get list of all granted permissions?</p>
  
  <p>I know from list of requested permission I can check for that permission weather granted or not but I want to know list of all granted permission. Don't want to check for every requested permission.</p>