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

* commit '53bef54cfff0cb9c6a67494b3e385a9617f75d03':
  to be upgraded, APKs must have exactly the same set of certs
This commit is contained in:
Doug Zongker 2011-11-10 16:14:42 +00:00 committed by Android Git Automerger
commit 4906f456a4

View file

@ -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: