commit | 472fcbb489d77be5157a2e77c043455ea8723ab9 | [log] [tgz] |
---|---|---|
author | Seth Moore <sethmo@google.com> | Wed May 12 10:07:51 2021 -0700 |
committer | Seth Moore <sethmo@google.com> | Wed May 12 16:37:12 2021 -0700 |
tree | 4f34d40bc5f09c016a45f0eed06c97a57498ae1a | |
parent | 407feb7f61507dace3b385c4f01d07d0ff19c26c [diff] |
Set write-ahead logging once at boot This is a rework of the previously reverted commit 6a50983169bc64f50b3747f6079df7a0a35c86b6, which was attempting to set WAL mode after startup. It turns out that doing this can race with other code that is trying to use the DB, resulting in DB lock errors. Bug: 184006658 Test: CtsKeystoreTestCases Change-Id: I737fd2750c3157a732c2677eaabf8aa114f42832