Fix for b/4198446 HC - Support for Widevine Adaptive VOD
Fix for b/4075745 libWVStreamControlAPI crashes when dlopened() and dlclosed()
Added error logging to diagnose problems such as b/4430078 Playback of newly rented
movie fails with "license expired"
Includes Widevine library build Version 4.5.0.3682
Change-Id: I5708bb3fb92f05a3dd1768620157a795ccebd57a
This commit is contained in:
@@ -52,10 +52,9 @@ public class ConfigXMLParser {
|
||||
Element asset = assetlist.getChild("asset");
|
||||
asset.setEndElementListener(new EndElementListener() {
|
||||
public void end() {
|
||||
if (currentAssetDescriptor.getUri().indexOf("http") != -1
|
||||
&& (currentAssetDescriptor.getUri().indexOf(".wvm") != -1
|
||||
|| !currentAssetDescriptor.getUri().substring(currentAssetDescriptor
|
||||
.getUri().lastIndexOf("/")).contains("."))) {
|
||||
if (currentAssetDescriptor.getUri().indexOf(".wvm") != -1
|
||||
|| !currentAssetDescriptor.getUri().substring(currentAssetDescriptor
|
||||
.getUri().lastIndexOf("/")).contains(".")) {
|
||||
assetDescriptors.add(currentAssetDescriptor.copy());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,12 +83,13 @@ public class HttpParser extends Thread {
|
||||
String assetPath = null;
|
||||
String title = null;
|
||||
String imagePath = null;
|
||||
start = htmlText.indexOf(":", start);
|
||||
start = htmlText.indexOf("href=\"", start);
|
||||
if (start == -1) {
|
||||
break;
|
||||
} else {
|
||||
start += "href=\"".length();
|
||||
end = htmlText.indexOf("\"", start);
|
||||
assetPath = "http" + htmlText.substring(start, end);
|
||||
assetPath = htmlText.substring(start, end);
|
||||
start = end + 1;
|
||||
start = htmlText.indexOf("\"", start) + 1;
|
||||
end = htmlText.indexOf("\"", start);
|
||||
|
||||
Reference in New Issue
Block a user