Merge "Less confusing error message."

This commit is contained in:
Alex Buynytskyy
2023-01-23 05:32:51 +00:00
committed by Android (Google) Code Review

View File

@@ -1152,8 +1152,8 @@ public class PackageManagerServiceUtils {
throw new IOException("Root has not present");
}
return ApkChecksums.verityHashForFile(new File(filename), hashInfo.rawRootHash);
} catch (IOException ignore) {
Slog.e(TAG, "ERROR: could not load root hash from incremental install");
} catch (IOException e) {
Slog.i(TAG, "Could not obtain verity root hash", e);
}
return null;
}