commit | 4ad056ffad5294ed566a015149303442f9b700ef | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Wed Aug 05 19:46:46 2020 +0000 |
committer | Janis Danisevskis <jdanis@google.com> | Thu Aug 13 20:21:17 2020 -0700 |
tree | 0ab4a0adfef8bb532b74ba282ea1ffc07269f14f | |
parent | 78bd48c704e618ca3d66a76616b3d24c6f638604 [diff] |
Cache the KeystoreKeyBackend with a lazy static. This patch makes KeystoreKeyBackend Sync and uses a lazy static to cache the back end in the permissions module. Test: atest keystore2_test Bug: 159466840 Change-Id: Ibc7851baede3506acbdf962e59c281fa16cfaf0e