commit | 8640944d150847f64e70821b61867f970d4c6e06 | [log] [tgz] |
---|---|---|
author | Aaron Holden <aaronholden@google.com> | Wed Mar 28 10:06:17 2018 -0700 |
committer | Aaron Holden <aaronholden@google.com> | Thu Mar 29 02:05:15 2018 +0000 |
tree | 1e014d0ac0d7b718c27d5ea3e4622211a843a838 | |
parent | 87606cfd9294d1d751def586ceec9a0ad4c8646b [diff] |
Synchronize MediaPreparer host download, attempt 2 Errors extracting the downloaded zip are likely caused by multiple threads writing/deleting the zip in the same location. Here we move all write operations into a single static synchronized class to more cleanly handle these race conditions. bug: 74124491 Test: run unit tests Change-Id: Ibe5392f0ed4e98c0563320ed487e5f70468fe5a6 merged-in: I1f2a0b94782d7be1b8cc954c088d84242efe4284