commit | 4ffb0c7f7e8dfad5984438f8baa556002d804a4f | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri May 07 18:35:14 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu May 13 00:19:10 2021 -0700 |
tree | 4301580285a3afdb068192d3120c257c643f18e1 | |
parent | bdc805416b02b8944e6c545478f3ae2a45ecdf47 [diff] |
Add RpcServer::setRootObjectWeak(wp) If the root binder object also holds a strong reference to the RpcServer, to avoid circular dependency, the RpcServer must hold a weak pointer of the RpcServer instead. Test: binderRpcTest Change-Id: I0d0c1f96a6a6d5339e2699f38edfaeb7ec2fd7f9