diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 16229db8c6d..d7df013784c 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -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: diff --git a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/drm/FrameworkMediaDrm.java b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/drm/FrameworkMediaDrm.java index 1cfb5d8dea0..e3d51fffc85 100644 --- a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/drm/FrameworkMediaDrm.java +++ b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/drm/FrameworkMediaDrm.java @@ -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 {