diff options
| author | 2022-06-01 15:01:11 -0400 | |
|---|---|---|
| committer | 2022-06-01 19:04:57 +0000 | |
| commit | b30b1683e119c509dc32b5a4d00a113546deac95 (patch) | |
| tree | 6890222f4c96a897b7457fd7c9fff71c92ed18cf /libs/androidfw/AssetsProvider.cpp | |
| parent | a834a9bd52bc60f0aa054aa4a8847a545ddefe15 (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