diff options
| author | 2020-04-03 15:36:23 -0700 | |
|---|---|---|
| committer | 2020-04-03 21:23:04 -0700 | |
| commit | 96c9e6ed002a7e9480121b56d45d1b45dbda5140 (patch) | |
| tree | de4962f8f33fe6f5b06c612d1f8df61c88db649b /tools/warn/java_warn_patterns.py | |
| parent | aaf43c8d5a9be78b528bc2fe486d888b15403393 (diff) | |
Make the `partition=` tag optional.
Since we might use ToT release tools to sign a package
generated by an older build, we make the new
`partition=` tag optional. This also means we need to be
careful to use non-greedy regex matching.
Bug: 153133823
Test: python3 -m unittest
Test: input with and without the new `partition=` tag
Test: new test_ReadApkCerts_WithWithoutOptionalFields
Change-Id: Ic57efd34e745ad302ae17150c6f2318f0b4524cb
Merged-In: Ic57efd34e745ad302ae17150c6f2318f0b4524cb
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions