Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 837430dd authored by James Dong's avatar James Dong Committed by Android (Google) Code Review
Browse files

Merge "Switch to use SF cached source" into honeycomb-mr1

parents b8b85ea2 3be15936
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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);
        }
    }