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

Commit 3e49ad28 authored by Wei Jia's avatar Wei Jia Committed by The Android Automerger
Browse files

GenericSource: reset mDrmManagerClient when mDataSource is cleared.

Bug: 25070434
Change-Id: Iade3472c496ac42456e42db35e402f7b66416f5b
(cherry picked from commit b41fd0d4)
parent 3292bef4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -481,6 +481,7 @@ void NuPlayer::GenericSource::notifyPreparedAndCleanup(status_t err) {
            {
                Mutex::Autolock _l(mDisconnectLock);
                mDataSource.clear();
                mDrmManagerClient = NULL;
                mCachedSource.clear();
                mHttpSource.clear();
            }