summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2017-07-07 11:25:50 -0700
committerEtan Cohen <etancohen@google.com>2017-07-26 16:22:46 -0700
commit50edf1efa5c3943fc85b213cf48132e3d19e4574 (patch)
tree83305e09a967df0916d9ef2e7cf7db230b392c38 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8775ad8f194bdb0183941273c3e4f7e3d242988f (diff)
[P2P][AsyncChannel] Revert client registering for service death
This effectively reverts 19c4883c850c2d1628e844b48778856673d8bfe6. The change added a binder death listener on a peer of the AsyncChannel. Issue: as specified in the bug - this causes a memory leak in apps using WifiP2pManager (and possibly other clients using AsyncChannel). The issue is that a reference to the caller is now kept by the death listener. This means that the caller object cannot be gc'd. This impacts WifiP2pManager since it didn't have an explicit close() method. The original reason for the change was to enable clean-up - this can be done in an alternative mechanism by passing-in a binder from client to service. Will be enable in a subsequent CL. Bug: 37443149 Test: all p2p tests, memory usage with test app Change-Id: Iff044a8cc9c2fc0bc57db4a218b80d0b12424ddd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions