summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorMÃ¥rten Kongstad <marten.kongstad@sony.com>2019-01-22 14:35:12 +0100
committerTodd Kennedy <toddke@google.com>2019-02-07 17:33:19 +0000
commit9371dc17e4bebcab99eb7771c99320e42ee36cd3 (patch)
tree1b0faaa6e97c4b2f884b8ee08bb462598a8b08a6 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentd136a7a22438c0d08aeb1a10fd1478830cc5bef7 (diff)
idmap2: include AndroidManifest.xml in CRCs
The CRCs stored in the idmap file header are copies of the zip file CRC for the resources.arsc entry in the target and overlay package apks, and are used to quickly check if either package's contents has changed, which in turn means the idmap file must be recreated. With the introduction of named targets, just checking the resources.arsc file is no longer sufficient: an overlay package could be installed with targetName="a" and updated to targetName="b". This change is not reflected in the resources.arsc file, only in the AndroidManifest.xml. To account for this, update the CRC in the idmap file header from CRC(resources.arsc) to CRC(resources.arsc) ^ CRC(AndroidManifest.xml) Test: make idmap2_tests Bug: 119761809 Change-Id: Ieb0c6b466ac23eb81a2670a32309fa46ade5c5c8
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions