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

Relnote: N/A
Bug: 231327615
Test: atest CtsLocationNoneTestCases
Change-Id: I7a89f51d60837f709dce9b28afd1b52c49c339cf
This commit is contained in:
Brian Julian
2022-12-06 18:29:52 +00:00
parent bdb3330e58
commit a5dc8a76dd

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