Skip to content

Commit

Permalink
Merge pull request #837 from superjohan:fix/android-14-clearkey
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 585639025
  • Loading branch information
copybara-github committed Nov 27, 2023
2 parents e84a13f + 8e4ffe7 commit 5f27b18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
* Text:
* Metadata:
* DRM:
* Extend workaround for spurious ClearKey `https://default.url` license
URL to API 33+ (previously the workaround only applied on API 33
exactly) ([#837](https://github.com/androidx/media/pull/837)).
* Effect:
* Muxers:
* IMA extension:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public KeyRequest getKeyRequest(
private static String adjustLicenseServerUrl(String licenseServerUrl) {
if (MOCK_LA_URL.equals(licenseServerUrl)) {
return "";
} else if (Util.SDK_INT == 33 && "https://default.url".equals(licenseServerUrl)) {
} else if (Util.SDK_INT >= 33 && "https://default.url".equals(licenseServerUrl)) {
// Work around b/247808112
return "";
} else {
Expand Down

0 comments on commit 5f27b18

Please sign in to comment.