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

Commit dfdbad30 authored by Adrian Roos's avatar Adrian Roos
Browse files

Prevent receiver leak in TrustAgentWrapper

Bug: 19601687
Change-Id: Idfe5429926e1c849dc2d908b4877d8410335391c
parent f855b0d2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -395,6 +395,7 @@ public class TrustAgentWrapper {
    }

    public void destroy() {
        mContext.unregisterReceiver(mBroadcastReceiver);
        mHandler.removeMessages(MSG_RESTART_TIMEOUT);

        if (!mBound) {