diff options
| author | 2020-05-03 21:24:26 -0700 | |
|---|---|---|
| committer | 2020-05-04 20:45:33 +0000 | |
| commit | 34354032843fb2b7eef0a51d67c196c059be00cc (patch) | |
| tree | 776da476b9185a7cc92f7cb421e6ac0a2dd3809f /tools/warn/java_warn_patterns.py | |
| parent | c3b0b52e58e4a9cf0604fe0adac20325835c9a80 (diff) | |
Skip _oem_props if oem_dicts is None.
The oem_dicts in BuildInfo is only available to ota_from_target_files
when it's called with "--oem_settings" input. However, aosp/1135332
starts to use BuildInfo in add_img_to_target_files w/o oem_dicts. An
assert is triggered due to it when oem_fingerprint_properties is in the
info_dict.
This change skips _oem_props reading if oem_dicts is None to allow this
case.
BUG: 155360923
BUG: 154171021
Test: Sign images with oem_fingerprint_properties.
Change-Id: I6a73feecd9567fd4d85f4eab3d4e11c5df28fe39
Merged-In: Idfd41c8b20b23d50e4895f24500f9a25625b7d98
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions