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

Commit 99c738bb 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:...

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

Change-Id: Ie51d3979ff7b74068203a43a85dd56a8a9e693e7
parents 7fdd79a6 88d4bf09
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;