commit | a1d90d9e9fbe62561d3a77b2733b5fce3b92d17a | [log] [tgz] |
---|---|---|
author | Etan Cohen <etancohen@google.com> | Thu Apr 20 15:13:24 2017 -0700 |
committer | Etan Cohen <etancohen@google.com> | Fri Apr 21 14:05:58 2017 -0700 |
tree | c92b4bd4d83f2df6b84fc7802eb044cb93f8b3b1 | |
parent | fd25662e034e260e32616b680e25287b53a11452 [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. Bug: 37514387 Test: unit tests and integration (sl4a) tests passing. Merged-In: Ia14065ab9dcd92481412532bfdb198f2e8d9f83c Change-Id: Ia14065ab9dcd92481412532bfdb198f2e8d9f83c