Skip to content

Commit

Permalink
Fixes log formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewrice345 committed Aug 10, 2022
1 parent 7d1aa8b commit 0c7ff8d
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,7 @@ 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 @@ -175,10 +172,7 @@ 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 0c7ff8d

Please sign in to comment.