There is no broadcast, but you can check the permissions yourself at startup (or resume, etc.). Context#checkCallingOrSelfPermission() for this.
If you want to check all your permissions, you can do something like this:
public static boolean[] getPermissionsGranted(Context context, String[] permissions){ boolean[] permissionsGranted = new boolean[permissions.length]; for(int i=0;i<permissions.length;i++){ int check = context.checkCallingOrSelfPermission(permissions[i]); permissionsGranted[i] = (check == PackageManager.PERMISSION_GRANTED); } return permissionsGranted; }
If the input strings are permission names, for example, "android.permission.INTERNET" .
source share