summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2017-07-06 07:18:28 -0700
committerEtan Cohen <etancohen@google.com>2017-07-20 14:00:41 +0000
commita1dff7719602bad1d98d241442008c006ed9cc59 (patch)
treec457b5929d41ffb58606d0a84fb72837b1d58c48 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent520caf4a75ae374a96e7893b60b3533dfb2224a4 (diff)
[P2P] Public API to clean-up resources of P2P
1. Add public API to close a Channel and allow configuration to be cleaned-up. Actual clean-up will only happen when the last p2p client executes close or terminates (binder death is triggered for the service). 2. Add Close Guard to verify that API is called - issue warning otherwise. Note that to actually get the warning an app needs to use the StrictMode policy: StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder() .detectLeakedClosableObjects().build()); Bug: 37443149 Test: (new) unit tests, CtsVerifier, Settings/WFD app Change-Id: I9590101ef7f7ba0a90812634ac1b931d1482fe72
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions