am 837430dd: Merge "Switch to use SF cached source" into honeycomb-mr1
* commit '837430dd3440f6e71f68ef755399e22386dee084': Switch to use SF cached source
This commit is contained in:
@@ -1734,12 +1734,7 @@ status_t AwesomePlayer::finishSetDataSource_l() {
|
|||||||
dataSource->getDrmInfo(&mDecryptHandle, &mDrmManagerClient);
|
dataSource->getDrmInfo(&mDecryptHandle, &mDrmManagerClient);
|
||||||
if (mDecryptHandle != NULL) {
|
if (mDecryptHandle != NULL) {
|
||||||
CHECK(mDrmManagerClient);
|
CHECK(mDrmManagerClient);
|
||||||
if (RightsStatus::RIGHTS_VALID == mDecryptHandle->status) {
|
if (RightsStatus::RIGHTS_VALID != mDecryptHandle->status) {
|
||||||
if (DecryptApiType::WV_BASED == mDecryptHandle->decryptApiType) {
|
|
||||||
LOGD("Setting mCachedSource to NULL for WVM\n");
|
|
||||||
mCachedSource.clear();
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
notifyListener_l(MEDIA_ERROR, MEDIA_ERROR_UNKNOWN, ERROR_NO_LICENSE);
|
notifyListener_l(MEDIA_ERROR, MEDIA_ERROR_UNKNOWN, ERROR_NO_LICENSE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user