Skip to content
Snippets Groups Projects
Commit a5dc8a76 authored by Brian Julian's avatar Brian Julian
Browse files

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

Relnote: N/A
Bug: 231327615
Test: atest CtsLocationNoneTestCases
Change-Id: I7a89f51d60837f709dce9b28afd1b52c49c339cf
parent bdb3330e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment