summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author James Dong <jdong@google.com> 2011-03-25 10:27:05 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2011-03-25 10:27:05 -0700
commit70a5b0317d5029b34be26a423c0ebeaa74b728ed (patch)
tree927d35a53ab1b9bdb39b6edac20024d1327793a6
parented7b688c015dbd064b81dfaed5dd6c7ed6728ac3 (diff)
parent9fb98238e5837a68fb16bcb9a23469f27124c304 (diff)
am 9fb98238: am 837430dd: Merge "Switch to use SF cached source" into honeycomb-mr1
* commit '9fb98238e5837a68fb16bcb9a23469f27124c304': Switch to use SF cached source
-rw-r--r--media/libstagefright/AwesomePlayer.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp
index bac1334615d8..435a1b06a665 100644
--- a/media/libstagefright/AwesomePlayer.cpp
+++ b/media/libstagefright/AwesomePlayer.cpp
@@ -1734,12 +1734,7 @@ status_t AwesomePlayer::finishSetDataSource_l() {
dataSource->getDrmInfo(&mDecryptHandle, &mDrmManagerClient);
if (mDecryptHandle != NULL) {
CHECK(mDrmManagerClient);
- if (RightsStatus::RIGHTS_VALID == mDecryptHandle->status) {
- if (DecryptApiType::WV_BASED == mDecryptHandle->decryptApiType) {
- LOGD("Setting mCachedSource to NULL for WVM\n");
- mCachedSource.clear();
- }
- } else {
+ if (RightsStatus::RIGHTS_VALID != mDecryptHandle->status) {
notifyListener_l(MEDIA_ERROR, MEDIA_ERROR_UNKNOWN, ERROR_NO_LICENSE);
}
}