docs: private int checkSelfPermission(Activity activity, String permission) {
      try {
        return androidPermissionService.checkSelfPermission(activity, permission);
      } catch (RuntimeException ignored) {
        return PackageManager.PERMISSION_DENIED;
      }
    }