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

Commit afe395da authored by Doug Zongker's avatar Doug Zongker Committed by Android Git Automerger
Browse files

am 4b87f575: am 278c9781: to be upgraded, APKs must have exactly the same set of certs

* commit '4b87f575':
  to be upgraded, APKs must have exactly the same set of certs
parents 82217367 4b87f575
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -347,8 +347,8 @@ class TargetFiles(object):
    for i in all:
      if i in self.apks:
        if i in other.apks:
          # in both; should have at least one cert in common
          if not (self.apks[i].cert & other.apks[i].cert):
          # in both; should have same set of certs
          if self.apks[i].certs != other.apks[i].certs:
            by_certpair.setdefault((other.apks[i].certs,
                                    self.apks[i].certs), []).append(i)
        else: