Skip to content

Commit

Permalink
Merge pull request #441 from this-Aditya/permission
Browse files Browse the repository at this point in the history
Broadcasting all permissions of onActivityResult()
  • Loading branch information
yatharthranjan committed Mar 28, 2024
2 parents 9678845 + 0c5c8dc commit 74879b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ open class PermissionHandler(

val result = if (granted) PERMISSION_GRANTED else PERMISSION_DENIED
broadcaster.send(RadarService.ACTION_PERMISSIONS_GRANTED) {
putExtra(RadarService.EXTRA_PERMISSIONS, arrayOf(LOCATION_SERVICE))
putExtra(RadarService.EXTRA_PERMISSIONS, arrayOf(permission))
putExtra(RadarService.EXTRA_GRANT_RESULTS, intArrayOf(result))
}

Expand Down

0 comments on commit 74879b6

Please sign in to comment.