summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2022-06-01 15:01:11 -0400
committer Lucas Silva <lusilva@google.com> 2022-06-01 19:04:57 +0000
commitb30b1683e119c509dc32b5a4d00a113546deac95 (patch)
tree6890222f4c96a897b7457fd7c9fff71c92ed18cf /libs/androidfw/AssetsProvider.cpp
parenta834a9bd52bc60f0aa054aa4a8847a545ddefe15 (diff)
Use try-with-resource statement for dream metadata to ensure proper
cleanup. This ensures the memory is properly cleaned up if an exception is thrown while building the DreamMetadata object. Bug: 234343900 Test: locally on device Change-Id: I29b2bed30c216d5e353fa0a8b0da74579b33cecb
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions