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

Unverified Commit e2ba83e0 authored by Aaron Kling's avatar Aaron Kling Committed by Michael Bestas
Browse files

releasetools: Fallback to calculated fp if partition fp is missing

This happens when the fingerprint property is blacklisted for the
purposes of unified device builds.

Change-Id: I9f8a5041248c3f73fce7a16da73cb8f68c06c8e2
parent e889d0cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -658,7 +658,7 @@ class BuildInfo(object):
    return self.GetBuildProp(key)
    return self.GetBuildProp(key)


  def GetPartitionFingerprint(self, partition):
  def GetPartitionFingerprint(self, partition):
    return self._partition_fingerprints.get(partition, None)
    return self._partition_fingerprints.get(partition, self.CalculateFingerprint())


  def CalculatePartitionFingerprint(self, partition):
  def CalculatePartitionFingerprint(self, partition):
    try:
    try: