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

Commit c8029bfb 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

Change-Id: If49b4ffddb6e578d82c1ad4b6c26f8153bb48a3a
parents b8576122 dbf00b6a
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;