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
(cherry picked from commit 5f27b18)
  • Loading branch information
copybara-github authored and microkatz committed Jan 8, 2024
1 parent 19ee787 commit db64831
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 @@ -21,6 +21,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 db64831

Please sign in to comment.