Fix that the update to v1 signed version fails if apk verity is enabled
Symptom: To update APK Signature Scheme v1 signed system priv-app to new v1 signed version fails if apk verity is enabled. Root cause: The package manager gets the verity root hash from apk for apk verity. But, the getting prosess does not consider v1 signed apk. The getting prosess fails if the apk is v1 signed. It causes the update failure. Solution: Always skip apk verity if the apk is v1 signed. Because v1 signed apk always does not have the verity root hash, and apk verity has been skipped in case of that the apk is v2 or v3 signed and the apk does not have the verity root hash. Bug: 124354537 Change-Id: Ieb19ed9a3277bfad09dc67a1abf1d9039c44709f
Loading
Please register or sign in to comment