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

Commit 92b6cd8d authored by Wei Jia's avatar Wei Jia Committed by android-build-merger
Browse files

GenericSource: reset mDecryptHandle when mDataSource is cleared. am: 09c291c8

am: 313358c7

* commit '313358c7':
  GenericSource: reset mDecryptHandle when mDataSource is cleared.
parents 3fcddfd2 313358c7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -475,6 +475,7 @@ void NuPlayer::GenericSource::notifyPreparedAndCleanup(status_t err) {
            {
                Mutex::Autolock _l(mDisconnectLock);
                mDataSource.clear();
                mDecryptHandle = NULL;
                mDrmManagerClient = NULL;
                mCachedSource.clear();
                mHttpSource.clear();