| commit | 8d55fa6a7b44dd646774f089c2b88697d9d56096 | [log] [tgz] |
|---|---|---|
| author | Ben Murdoch <benm@google.com> | Tue Nov 15 15:26:37 2011 +0000 |
| committer | Ben Murdoch <benm@google.com> | Tue Nov 15 16:08:47 2011 +0000 |
| tree | 8bc2f6d46299bee1c9434ad58a9e6484d0c66f85 | |
| parent | 61a908361c8a96eeb70afdb5430e89845edb2bdd [diff] |
Fix CacheManager to correctly write CacheFiles to disk. There are two problems with the CacheManager - 1. Need to null terminate the file path used for the cache file on disk. 2. A race condition between starting the background task to write the file and updating internal state variables. These were causing a CTS test to fail. Bug: 5619303 Change-Id: I61f06d50b7ef560ede2f1141fc51d92255d4efbd