diff options
author | Michael Groover <mpgroover@google.com> | 2021-01-27 21:24:09 -0800 |
---|---|---|
committer | Michael Groover <mpgroover@google.com> | 2021-01-27 21:24:09 -0800 |
commit | d8bd3028e3e94c8bb6c37ddb2a4d87abe7747c66 (patch) | |
tree | ae0b1839af757def64681440ca10af2b8ae59cda /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c64d83723fb91b05d90cb3c261cd36a6018cdf7f (diff) |
Document Signature equals/hash should not include flags
Some of the methods in PackageParser.SigningDetails rely on the
Signature class not including the flags / capabilities when
computing the hash code or performing equality checks. This commit
adds comments to the Signature class to highlight this and adds
tests to detect if this behavior is changed.
Bug: 176814921
Test: atest SignatureTest
Change-Id: I28c591af559568d498449f1c6cbceb1c292d2ad5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions