diff options
author | Svet Ganov <svetoslavganov@google.com> | 2017-03-02 18:52:28 -0800 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2017-03-03 03:01:34 +0000 |
commit | 480b570603df7c7b63372483923239f57a1468b4 (patch) | |
tree | 7cc353e396a2e6ab05e2ee8d5884a44c718fb782 /tools/aapt2/diff/Diff.cpp | |
parent | d11f127428a01dd86f5bb71797105b9b30be9e40 (diff) |
Add a missing write lock to settings state.
Atomic file requires sync between writers otherwise we may end
up with partially written settings file and no backup to recover.
Test: not testable by how we hold a mutex
bug:35915719
Change-Id: I97eebf869fa7e4989dcd2a29e4418c22706edcb8
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions