summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Hongguang Chen <hgchen@google.com> 2020-05-03 21:24:26 -0700
committer Hongguang Chen <hgchen@google.com> 2020-05-04 16:54:10 +0000
commitd7c160ffbf87dfca0c74ea2a08cf0f233720e97b (patch)
tree9c4625c1da4b57a48c3e4371279210601329d493 /tools/warn/java_warn_patterns.py
parentaf4c62f78a0a2572ba828de6a51b28de37d0c3c6 (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 skip _oem_props reading if oem_dicts is None to allow to this case. BUG: 155360923 BUG: 154171021 Test: Sign images with oem_fingerprint_properties. Change-Id: I6a73feecd9567fd4d85f4eab3d4e11c5df28fe39
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions