Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
StaehliJ committed Dec 19, 2023
1 parent 0b1815e commit 8ab66ff
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ private class DrmReadyWebChromeClient : WebChromeClient() {
override fun onPermissionRequest(request: PermissionRequest?) {
val resources = request?.resources
resources?.forEach { resource ->
if (
PermissionRequest.RESOURCE_PROTECTED_MEDIA_ID == resource
) {
if (PermissionRequest.RESOURCE_PROTECTED_MEDIA_ID == resource) {
request.grant(resources)
return
}
Expand Down

0 comments on commit 8ab66ff

Please sign in to comment.