summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDan Cashman <dcashman@google.com>2018-01-26 05:37:54 -0800
committerDan Cashman <dcashman@google.com>2018-01-26 08:36:31 -0800
commit6dbf837a3a74ea0aad15d3e4fb66a82e2161c9e7 (patch)
tree39e50f9bcdcbee8695bfcd27b84eee154cf3094d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5bc5457ae5717147d162c2ddc5ffa02fa5a1bd20 (diff)
v3 APK verification: reset por signedData after verification.
During the proof-of-rotation additional attribute parsing, each new certificate needs to be verified by the last. When doing this verification, the ByteBuffer position is advanced to its limit, but it needs to be read again to extract the certificate. Reset the signedData ByteBuffer to its original position. Bug: 64686581 Test: Builds, boots, v3 signed app with rotated cert installs. Change-Id: Ie95e4c7e99e3cfb9a987638a0c641456af2f34d9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions