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

Commit 69c8e36d authored by Wei Jia's avatar Wei Jia Committed by android-build-merger
Browse files

GenericSource: reset mDrmManagerClient when mDataSource is cleared.

am: 224858e7

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