forked from openkylin/platform_build
sign_target_files_apks: Relax ro.build.description requirements
Some OEMs, namely OnePlus don't use AOSP compliant build description. Making sure that the last piece ends with -keys is more than enough. Change-Id: Iefa3c408a3fdda0b63db257befb8ba2d36793293
This commit is contained in:
parent
71c7048593
commit
4260fc1575
|
@ -799,7 +799,7 @@ def RewriteProps(data):
|
|||
value = "/".join(pieces)
|
||||
elif key == "ro.build.description":
|
||||
pieces = value.split(" ")
|
||||
assert len(pieces) == 5
|
||||
assert pieces[-1].endswith("-keys")
|
||||
pieces[-1] = EditTags(pieces[-1])
|
||||
value = " ".join(pieces)
|
||||
elif key.startswith("ro.") and key.endswith(".build.tags"):
|
||||
|
|
Loading…
Reference in New Issue