commit | 2c0a308fe744777ef8a48a264b58163cfef69e95 | [log] [tgz] |
---|---|---|
author | Ellen Arteca <emarteca@google.com> | Mon Mar 18 22:08:26 2024 +0000 |
committer | Ellen Arteca <emarteca@google.com> | Fri Mar 22 21:52:08 2024 +0000 |
tree | 8bcf9f96af6e35dcc81db6446dd8a931f7df61e2 | |
parent | e93eab4406aebaacf8f08d6a2255b85cb1aa0abb [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: presubmit Change-Id: If180967bcfc1d812edd4202b2d049a4b69d6105f