diff options
author | Bryan Henry <bryanhenry@google.com> | 2018-07-26 22:30:28 -0700 |
---|---|---|
committer | Bryan Henry <bryanhenry@google.com> | 2018-07-26 22:30:29 -0700 |
commit | 770f3579dcc5a1697e0e5c3474e8fa34fd21d3dd (patch) | |
tree | 85fbedf81d088c6947380a982cc88ab72457f708 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b319639fac1a6680ba2c9a4ce08e39dd1d4acb41 (diff) |
Collect APK certificates after an OTA, rather than relying on timestamps
Checking APK file modified timestamps is not a reliable signal to
determine that the APK signature may have changed. APKs in the system
image (anything that passes through add_img_to_target_files) have all
file timestamps rewritten to 2009-01-01, for instance, so timestamp will
explicitly fail to detect changes in the platform key across an OTA.
Bug: 80093599
Bug: 74501739
Test: Verified OTA between test-keys and dev-keys worked for 2 builds
with same APK timestamps, and signature changes were picked up.
Change-Id: Id3e5afbfe22e63d70cd176f1e438e2fa143ccd65
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions