summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-01-05 17:30:57 -0700
committerJeff Sharkey <jsharkey@android.com>2016-01-06 10:19:35 -0700
commit60cfad80bdf61db436643927337c2fb30186e99d (patch)
tree71d953873226c0a3b6c2458fc1858ccb27b3b056 /tools/aapt2/java/JavaClassGenerator.cpp
parent6a40ac6cc68f240cca60e12aba2d212c440fe091 (diff)
Discourage use of "_data" column.
Moving forward, all client file access really needs to be going through explicit APIs like openFileDescriptor(), since that allows the provider to better protect its underlying files. This change also changes several classes to use the AutoClosable pattern, which enables try-with-resources usage. Older release() methods are deprecated in favor of close(). Uniformly apply CloseGuard across several classes, using AtomicBoolean to avoid double-freeing, and fix several resource leaks and bugs related to MediaScanner allocation. Switch MediaScanner and friends to use public API instead of raw AIDL calls. Bug: 22958127 Change-Id: Id722379f72c9e4b80d8b72550d7ce90e5e2bc786
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions