Fix Widevine error reporting in JellyBean
Includes Widevine library version 6.0.0-6969 Change-Id: I4a606cd730251bfa449f67e8214c3cb411bd3311 related-to-bug: 6429947
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -165,8 +165,6 @@ public class WidevineDrm {
|
|||||||
|
|
||||||
public void getConstraints(String assetUri) {
|
public void getConstraints(String assetUri) {
|
||||||
|
|
||||||
// Need to use acquireDrmInfo prior to calling checkRightsStatus
|
|
||||||
mDrmManager.acquireDrmInfo(getDrmInfoRequest(assetUri));
|
|
||||||
ContentValues values = mDrmManager.getConstraints(assetUri, DrmStore.Action.PLAY);
|
ContentValues values = mDrmManager.getConstraints(assetUri, DrmStore.Action.PLAY);
|
||||||
logContentValues(values, "No Contraints");
|
logContentValues(values, "No Contraints");
|
||||||
}
|
}
|
||||||
@@ -176,7 +174,6 @@ public class WidevineDrm {
|
|||||||
|
|
||||||
// Need to use acquireDrmInfo prior to calling getConstraints
|
// Need to use acquireDrmInfo prior to calling getConstraints
|
||||||
mDrmManager.acquireDrmInfo(getDrmInfoRequest(assetUri));
|
mDrmManager.acquireDrmInfo(getDrmInfoRequest(assetUri));
|
||||||
|
|
||||||
ContentValues values = mDrmManager.getConstraints(assetUri, DrmStore.Action.PLAY);
|
ContentValues values = mDrmManager.getConstraints(assetUri, DrmStore.Action.PLAY);
|
||||||
logContentValues(values, "No Rights");
|
logContentValues(values, "No Rights");
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user