forked from openkylin/platform_build
resolved conflicts for merge of 1b53b6a7
to master
Change-Id: Id08fb8de4f136596fd39b651446ec96fc952427a
This commit is contained in:
commit
c4b1577d6e
|
@ -235,10 +235,9 @@ def RewriteProps(data):
|
|||
elif key == "ro.build.display.id":
|
||||
# change, eg, "JWR66N dev-keys" to "JWR66N"
|
||||
value = value.split()
|
||||
if len(value) == 2 and value[1].endswith("-keys"):
|
||||
value = value[0]
|
||||
else:
|
||||
value = " ".join(value)
|
||||
if len(value) > 1 and value[-1].endswith("-keys"):
|
||||
value.pop()
|
||||
value = " ".join(value)
|
||||
line = key + "=" + value
|
||||
if line != original_line:
|
||||
print " replace: ", original_line
|
||||
|
|
Loading…
Reference in New Issue