diff options
author | Winson <chiuwinson@google.com> | 2019-02-19 12:48:22 -0800 |
---|---|---|
committer | Winson <chiuwinson@google.com> | 2019-03-29 12:18:18 -0700 |
commit | b0085ce5b63bc5d2d86eaf84ed20d8a4a7b532a7 (patch) | |
tree | f1bbbf4d117e587e821c0ee665b0882ac35fc333 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 83708c825868b4c26c6c599b5614205ea5118d3c (diff) |
Fix AssetManager2 isUpToDate check
This logic was lost in the AssetManager1 -> 2 migration.
The old AM1 checked the last modification time of the file
and compared it to a previously stored value. This re-adds the
logic to ApkAssets and fixes the checks in the JNI/Java layer.
Unfortunately I couldn't find a failing/practical case where
this check mattered. It only came up when diagnosing an issue
which ended up being unrelated.
Test: manually ran with other overlay changes
Change-Id: I758e4af1d32a9c03b2204a8a3a26e82b7e83feda
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions