Uploaded for Robin Connell. Fixed 4466580 Need widevine sample demo player support for adaptive streaming. Thumbnails now show and content plays for adaptive and oem content pages.
Change-Id: Id03c7cc01be78d7c5d3d7ca66d2a2773273af6fe
This commit is contained in:
@@ -239,13 +239,13 @@ public abstract class AssetActivity extends Activity {
|
||||
String imageUrl = null;
|
||||
|
||||
if (assetItem.getImagePath() == null || assetItem.getImagePath().equals("")) {
|
||||
if (assetItem.getAssetPath().indexOf("http") == -1)
|
||||
if (!assetItem.getAssetPath().contains("http") && !assetItem.getAssetPath().contains("wvplay"))
|
||||
clipImage = BitmapFactory.decodeResource(getResources(), R.drawable.download_clip);
|
||||
else
|
||||
clipImage = BitmapFactory.decodeResource(getResources(), R.drawable.streaming_clip);
|
||||
} else {
|
||||
InputStream bitmapStream = null;
|
||||
if (assetItem.getAssetPath().indexOf("http") != -1) {
|
||||
if (assetItem.getImagePath().contains("http")) {
|
||||
|
||||
imageUrl = assetItem.getImagePath();
|
||||
if (imageUrl != null) {
|
||||
|
||||
Reference in New Issue
Block a user