Less confusing error message.

Bug: 263511581
Test: presubmit
Change-Id: I8455fcb1d45b21f2ee04716b5404fe66d02d188a
This commit is contained in:
Alex Buynytskyy
2023-01-19 11:58:46 -08:00
parent 1c66e1f6f8
commit 7f3eeeb6f0

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;
}