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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user