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

Commit 2b800123 authored by Michael Runge's avatar Michael Runge Committed by Android Git Automerger
Browse files

am 34a1bdeb: am ea1dc699: Merge "Rewrite...

am 34a1bdeb: am ea1dc699: Merge "Rewrite ro.vendor.build.fingerprint/thumbprint on signing" into lmp-mr1-dev

* commit '34a1bdeb':
  Rewrite ro.vendor.build.fingerprint/thumbprint on signing
parents 97d1d8de 34a1bdeb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -296,12 +296,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])