Skip to content

Commit

Permalink
Deal with other situations
Browse files Browse the repository at this point in the history
  • Loading branch information
inTao committed Aug 14, 2024
1 parent e0ba295 commit b4594ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ private int determinePermissionStatus(final @PermissionConstants.PermissionGroup
} else if (permissionStatusLimited == PackageManager.PERMISSION_GRANTED && permissionStatus == PackageManager.PERMISSION_GRANTED) {
permissionStatuses.add(PermissionConstants.PERMISSION_STATUS_GRANTED);
}else {
permissionStatuses.add(PermissionConstants.PERMISSION_STATUS_DENIED);
permissionStatuses.add(PermissionUtils.determineDeniedVariant(activity, name));
}
}else {
final int permissionStatus = ContextCompat.checkSelfPermission(context, name);
Expand Down

0 comments on commit b4594ad

Please sign in to comment.