Skip to content

Commit

Permalink
Remove unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
jayohms committed Dec 2, 2024
1 parent c99972b commit 7d459ab
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@ class GeolocationPermissionDelegate(private val session: Session) {
} else {
null
}

// Only request "fine" location if provided in the app manifest, since
// the WebView requires this permission for location access. Granting
// "coarse" location does not work. See: https://issues.chromium.org/issues/40205003
return manifestPermissions().firstOrNull { it == ACCESS_FINE_LOCATION }
}

private fun manifestPermissions(): Array<String> {
Expand Down

0 comments on commit 7d459ab

Please sign in to comment.