Merge "Removes catch on IOException as GeoidHeightMap#loadFromCacheAndDisk supports this type of throw."

This commit is contained in:
Brian Julian
2022-12-07 01:06:34 +00:00
committed by Android (Google) Code Review

View File

@@ -293,8 +293,6 @@ public final class GeoidHeightMap {
try (InputStream is = context.getApplicationContext().getAssets().open(
"geoid_height_map/tile-" + diskTokens[i] + ".pb")) {
tile = S2TileProto.parseFrom(is.readAllBytes());
} catch (IOException e) {
throw new RuntimeException(e);
}
mergeFromDiskTile(params, tile, cacheKeys, diskTokens, i, loadedTiles);
}