code: public static PermissionDeniedResponse from(@NonNull String permission,
        boolean permanentlyDenied) {
      return new PermissionDeniedResponse(new PermissionRequest(permission), permanentlyDenied);
    }
docs: Builds a new instance of PermissionDeniedResponse from a given permission string
  and a permanently-denied boolean flag