summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorLucas Silva <lusilva@google.com>2022-06-01 15:01:11 -0400
committerLucas Silva <lusilva@google.com>2022-06-01 19:04:57 +0000
commitb30b1683e119c509dc32b5a4d00a113546deac95 (patch)
tree6890222f4c96a897b7457fd7c9fff71c92ed18cf /core/java/android/inputmethodservice/AbstractInputMethodService.java
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 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions