Merge "releasetools: Remove the assertion of not allowing thumbprint in Treble world."
am: 805ab25e05
Change-Id: Iee41170414e8b17f05d2defa405b18834bc7e8f3
This commit is contained in:
commit
b1750e2825
1 changed files with 0 additions and 6 deletions
|
@ -697,17 +697,11 @@ def AddCompatibilityArchiveIfTrebleEnabled(target_zip, output_zip, target_info,
|
|||
if not HasTrebleEnabled(target_zip, target_info):
|
||||
return
|
||||
|
||||
# We don't support OEM thumbprint in Treble world (which calculates
|
||||
# fingerprints in a different way as shown in CalculateFingerprint()).
|
||||
assert not target_info.oem_props
|
||||
|
||||
# Full OTA carries the info for system/vendor both.
|
||||
if source_info is None:
|
||||
AddCompatibilityArchive(True, True)
|
||||
return
|
||||
|
||||
assert not source_info.oem_props
|
||||
|
||||
source_fp = source_info.fingerprint
|
||||
target_fp = target_info.fingerprint
|
||||
system_updated = source_fp != target_fp
|
||||
|
|
Loading…
Reference in a new issue