[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
Loading
Please register or sign in to comment