summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2017-04-20 15:13:24 -0700
committerEtan Cohen <etancohen@google.com>2017-04-21 13:15:53 -0700
commit8039e6d48d9f77e83f9aa3ccceed6315fd15ac0e (patch)
tree3bf1db1f9a9681c96edb7c3f20edd48fee8148d6 /tools/aapt2/java/JavaClassGenerator.cpp
parent6bd43a0327119647588f1ee7d09c2c10ca197846 (diff)
[AWARE] Add AutoCloseable interface/implementation
Make resource holding classes AutoCloseable. These are objects which (already) require the client to call a destroy() method. Note: the destroy() method was renamed to close() - no sense in identical/duplicate methods. (cherry-pick of commit 6a4572c89671d9320620eb0ef071dfe0a01de901) Bug: 37514387 Test: unit tests and integration (sl4a) tests passing. Change-Id: Ia14065ab9dcd92481412532bfdb198f2e8d9f83c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions