Merge pull request #837 from superjohan:fix/android-14-clearkey
PiperOrigin-RevId: 585639025
This commit is contained in:
commit
5f27b18210
@ -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:
|
||||
|
@ -246,7 +246,7 @@ public final class FrameworkMediaDrm implements ExoMediaDrm {
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user