Merge "Do not fail early when one of the verification fails so that we don't delete the apk file while the other verification is still accessing it."
This commit is contained in:
committed by
Android (Google) Code Review
commit
b8144ae516
@@ -14707,8 +14707,7 @@ public class PackageManagerService extends IPackageManager.Stub
|
||||
void handleVerificationFinished() {
|
||||
if (!mVerificationCompleted) {
|
||||
mVerificationCompleted = true;
|
||||
if (mIntegrityVerificationCompleted || mRet != INSTALL_SUCCEEDED) {
|
||||
mIntegrityVerificationCompleted = true;
|
||||
if (mIntegrityVerificationCompleted) {
|
||||
handleReturnCode();
|
||||
}
|
||||
// integrity verification still pending.
|
||||
@@ -14718,8 +14717,7 @@ public class PackageManagerService extends IPackageManager.Stub
|
||||
void handleIntegrityVerificationFinished() {
|
||||
if (!mIntegrityVerificationCompleted) {
|
||||
mIntegrityVerificationCompleted = true;
|
||||
if (mVerificationCompleted || mRet != INSTALL_SUCCEEDED) {
|
||||
mVerificationCompleted = true;
|
||||
if (mVerificationCompleted) {
|
||||
handleReturnCode();
|
||||
}
|
||||
// verifier still pending
|
||||
|
||||
Reference in New Issue
Block a user