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

Commit db9dabb8 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "Skip calling verify_package_compatibility when resuming." am: 98beb641

am: c4148b52

Change-Id: I7f59a1eb51e83443b77f8ae61139af12149eaca8
parents 8a9a4a1e c4148b52
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -606,8 +606,8 @@ static int really_install_package(const std::string& path, bool* wipe_cache, boo
    return INSTALL_CORRUPT;
  }

  // Additionally verify the compatibility of the package.
  if (!verify_package_compatibility(zip)) {
  // Additionally verify the compatibility of the package if it's a fresh install.
  if (retry_count == 0 && !verify_package_compatibility(zip)) {
    log_buffer->push_back(android::base::StringPrintf("error: %d", kPackageCompatibilityFailure));
    return INSTALL_CORRUPT;
  }