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

Commit 88d4bf09 authored by Dan Zhang's avatar Dan Zhang Committed by android-build-merger
Browse files

Merge "Fix the reference leak on RemoteCallbackList" am: be30d27a am: ea493e4c am: dbf00b6a

am: c8029bfb

Change-Id: I514b670dfed23fecebd5b3f67ab47e2940fa341b
parents 3e4f5ece c8029bfb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -123,6 +123,7 @@ public class RemoteCallbackList<E extends IInterface> {
            IBinder binder = callback.asBinder();
            try {
                Callback cb = new Callback(callback, cookie);
                unregister(callback);
                binder.linkToDeath(cb, 0);
                mCallbacks.put(binder, cb);
                return true;