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

Commit 38c57e72 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

am: eff89fb1

Change-Id: I4f24456eb007c02e05e630ebf6b571beac0493c1
parents ea589f5a eff89fb1
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();
}