Skip to content

Commit

Permalink
fix: compile error on Android API 35 (#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
YanhqZ authored Sep 1, 2024
1 parent 9fe3dba commit da1da9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ abstract class PermissionDelegate {
PackageManager.GET_PERMISSIONS
)
}
return packageInfo.requestedPermissions.contains(permission)
return packageInfo.requestedPermissions?.contains(permission) == true
}

/**
Expand Down

0 comments on commit da1da9c

Please sign in to comment.