Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea1dc699 authored by Michael Runge's avatar Michael Runge Committed by Android (Google) Code Review
Browse files

Merge "Rewrite ro.vendor.build.fingerprint/thumbprint on signing" into lmp-mr1-dev

parents 423854bf e07c75a8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -295,12 +295,12 @@ def RewriteProps(data, misc_info):
    original_line = line
    if line and line[0] != '#' and "=" in line:
      key, value = line.split("=", 1)
      if (key == "ro.build.fingerprint"
      if (key in ("ro.build.fingerprint", "ro.vendor.build.fingerprint")
          and misc_info.get("oem_fingerprint_properties") is None):
        pieces = value.split("/")
        pieces[-1] = EditTags(pieces[-1])
        value = "/".join(pieces)
      elif (key == "ro.build.thumbprint"
      elif (key in ("ro.build.thumbprint", "ro.vendor.build.thumbprint")
          and misc_info.get("oem_fingerprint_properties") is not None):
        pieces = value.split("/")
        pieces[-1] = EditTags(pieces[-1])