commit | 1587dee472f4f7ddf59c504f2c4e4838b868834b | [log] [tgz] |
---|---|---|
author | Ellen Arteca <emarteca@google.com> | Mon Mar 18 22:08:54 2024 +0000 |
committer | Ellen Arteca <emarteca@google.com> | Fri Mar 22 21:24:27 2024 +0000 |
tree | 41ba91937e71b781d4bd96d2d671f332d5fa5464 | |
parent | 783cb5b67b7ef128218aefa71637d3ce28d129e5 [diff] |
Ensure that LockscreenCredential#close() gets called Wrap LockscreenCredential objects in try-with-resources. This ensures the LockscreenCredential's `close()` method gets called, which clears the `byte[]` field that stores the LSKF. Bug: 320392352 Test: build Change-Id: I34696f5a917807f24f855af00e3474aed5dd3228