commit | d8bd3028e3e94c8bb6c37ddb2a4d87abe7747c66 | [log] [tgz] |
---|---|---|
author | Michael Groover <mpgroover@google.com> | Wed Jan 27 21:24:09 2021 -0800 |
committer | Michael Groover <mpgroover@google.com> | Wed Jan 27 21:24:09 2021 -0800 |
tree | ae0b1839af757def64681440ca10af2b8ae59cda | |
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