commit | 46ea520085c1fdfc672f04d91dd7c3634d7e25d5 | [log] [tgz] |
---|---|---|
author | Siim Sammul <siims@google.com> | Fri Nov 03 11:08:23 2023 +0000 |
committer | Siim Sammul <siims@google.com> | Wed Nov 22 16:28:52 2023 +0000 |
tree | f7f7d940a933993e0d4c1b19cbdfbfd31bdbb55c | |
parent | 693bf0c2fca35833b79c2253c877396290c0df7f [diff] |
Add a lock when writing temporary files in BootReceiver This is needed because there is potentially a race condition between when NativeTombstoneManager tries to delete leftover .tmp files and when those files are added to dropbox. Direct cherrypick from internal master Test: atest ErrorsTest Bug: 284900963 Change-Id: I07936c51646915cb8760f45c4bb920f5fb335025 Merged-In: I07936c51646915cb8760f45c4bb920f5fb335025