summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTodd Kennedy <toddke@google.com>2017-11-29 13:58:53 -0800
committerTodd Kennedy <toddke@google.com>2017-11-29 22:04:36 +0000
commit3e654843d55a292b337eb661389fb44e05a6e7a7 (patch)
tree7a070f80d61f5b1f02d7c17308009689dd5f7034 /tools/aapt2/java/JavaClassGenerator.cpp
parent96cb94bab4d366fa3f9c90b162482d750debbe37 (diff)
Fix if clauses
During a refactor, we introduced updated the method used to verify signatures. The "&& additionalTest" clauses were added to the wrong if statement [off-by-one]. So, we were performing a compat signature check when we shouldn't and not throwing an exception when we should. Change-Id: Ie479be5b254b9b13451ab07a07d20a68c7b828ad Fixes: 69053002 Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests#testSharedUidDifferentCerts
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions