diff options
author | Todd Kennedy <toddke@google.com> | 2016-08-23 15:38:26 -0700 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2016-08-23 15:47:02 -0700 |
commit | 095d4125be2117d1bbcdc815dffe6ecc0b7e651f (patch) | |
tree | 78b37dfa4d225c48b0e7799a00c81ba469410dae /tools/aapt2/diff/Diff.cpp | |
parent | e24a4590bf5c302687a3efba684de275d13ee300 (diff) |
use directory timestamp during OTA
Previously the timestamp was generated using the directory and not the
APK [see b/29575840 and b/29610181 as to why that's bad]. In MR1, the
timestamp was generated using the most recent time of any of the APK
files.
The timestamp discrepancy causes problems during OTA to N MR1. Most
apps are incorrectly marked as "changed" which means a full parse and
verification pass on all packages. This can be a very lengthy process.
Bug: 30930797
Change-Id: Iaef7b318e1c1effbd74d996f88cbf3d6e77736cd
Test: manually updated the platform and noticed that existing packages were marked as "not changed"
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions