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

Commit eff89fb1 authored by Jeff Tinker's avatar Jeff Tinker Committed by android-build-merger
Browse files

Merge "Allow drm plugin to be released when binder dies" into oc-dev

am: ea21ebc8

Change-Id: I4cc22ddfcc107ba067f4b12304cfd68e7d709b28
parents 4910fe04 ea21ebc8
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -958,11 +958,9 @@ status_t DrmHal::signRSA(Vector<uint8_t> const &sessionId,

void DrmHal::binderDied(const wp<IBinder> &the_late_who __unused)
{
    mEventLock.lock();
    mListener.clear();
    mEventLock.unlock();

    Mutex::Autolock autoLock(mLock);
    setListener(NULL);
    mPlugin->setListener(NULL);
    mPlugin.clear();
}