Skip to content

Commit

Permalink
Remove non-essential check restricted states
Browse files Browse the repository at this point in the history
  • Loading branch information
inTao committed Aug 14, 2024
1 parent b4594ad commit 39a4d28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ private int determinePermissionStatus(final @PermissionConstants.PermissionGroup
}
if (permissionStatusLimited == PackageManager.PERMISSION_GRANTED && permissionStatus == PackageManager.PERMISSION_DENIED) {
permissionStatuses.add(PermissionConstants.PERMISSION_STATUS_LIMITED);
} else if (permissionStatusLimited == PackageManager.PERMISSION_GRANTED && permissionStatus == PackageManager.PERMISSION_GRANTED) {
} else if (permissionStatus == PackageManager.PERMISSION_GRANTED) {
permissionStatuses.add(PermissionConstants.PERMISSION_STATUS_GRANTED);
}else {
permissionStatuses.add(PermissionUtils.determineDeniedVariant(activity, name));
Expand Down

0 comments on commit 39a4d28

Please sign in to comment.