Skip to content

Commit

Permalink
Revert "Fixes log formatting"
Browse files Browse the repository at this point in the history
This reverts commit 0c7ff8d.
  • Loading branch information
ChopinDavid committed Feb 21, 2023
1 parent be331bb commit 3566efb
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ internal class BetterPlayer(
}
}
if (Util.SDK_INT < 18) {
Log.e(TAG, "Protected content not supported on API levels below 18")
Log.e(
TAG,
"Protected content not supported on API levels below 18"
)
drmSessionManager = null
} else {
val drmSchemeUuid = Util.getDrmUuid("widevine")
Expand Down Expand Up @@ -172,7 +175,10 @@ internal class BetterPlayer(
}
} else if (clearKey != null && clearKey.isNotEmpty()) {
drmSessionManager = if (Util.SDK_INT < 18) {
Log.e(TAG, "Protected content not supported on API levels below 18")
Log.e(
TAG,
"Protected content not supported on API levels below 18"
)
null
} else {
DefaultDrmSessionManager.Builder()
Expand Down

0 comments on commit 3566efb

Please sign in to comment.