commit | d225f0bfd5bc8e7767dc000ea5174bddd95bdea8 | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Mon Mar 20 16:04:57 2017 -0700 |
committer | Fyodor Kupolov <fkupolov@google.com> | Tue Mar 21 16:51:25 2017 -0700 |
tree | 14205270946c757b8fb211b6cca7afe11c750a73 | |
parent | daa560ad77d74470e43b99a74d8a371ad8f91047 [diff] |
Support expiration of preloaded file cache When device is provisioned, we delete all files from /data/preloads except file_cache. We should do best effort to keep file_cache during the first config_keepPreloadsMinDays. After that, persist.sys.preloads.file_cache_expired is set to 1, which indicates that cache can be deleted when additional storage space is requested. Bug: 34690396 Test: Manual + RetailDemoModeServiceTest Change-Id: Ie584a9dd6689bcc5e6b3cb448e95dfe5f73d2eeb