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:
Edwin Wong
2011-06-01 16:18:20 -07:00
parent 66d9ff5fb5
commit c3c294866b
4 changed files with 8 additions and 8 deletions

View File

@@ -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) {