commit | 4507f3bdddcae4a0eaf917fdfb2195a0f9f6ce27 | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Wed Jan 13 16:34:39 2021 -0800 |
committer | Janis Danisevskis <jdanis@google.com> | Mon Jan 25 11:29:19 2021 -0800 |
tree | 88c8d87e780377311a13d9e2c2a3c78766a20a9a | |
parent | 5ed8c5396092bee52c9a51fb27f244fbde8cb689 [diff] |
Keystore 2.0: Untangle GC from Keystore DB. Notifying the garbage collector directly from the DB breaks the unit test because the GC implicitly uses the global DB instance. This moves GC notification outside of the KeystoreDB. Also remove #[!allow(dead_code)] from database.rs. Test: keystore2_test Change-Id: Ia2812d47ccee05309aaa91063d0d99c853596ea1