Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28eb1dae authored by Brian Julian's avatar Brian Julian Committed by Android (Google) Code Review
Browse files

Merge "Removes catch on IOException as GeoidHeightMap#loadFromCacheAndDisk...

Merge "Removes catch on IOException as GeoidHeightMap#loadFromCacheAndDisk supports this type of throw."
parents 852ed0b8 a5dc8a76
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -293,8 +293,6 @@ public final class GeoidHeightMap {
            try (InputStream is = context.getApplicationContext().getAssets().open(
            try (InputStream is = context.getApplicationContext().getAssets().open(
                    "geoid_height_map/tile-" + diskTokens[i] + ".pb")) {
                    "geoid_height_map/tile-" + diskTokens[i] + ".pb")) {
                tile = S2TileProto.parseFrom(is.readAllBytes());
                tile = S2TileProto.parseFrom(is.readAllBytes());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
            }
            mergeFromDiskTile(params, tile, cacheKeys, diskTokens, i, loadedTiles);
            mergeFromDiskTile(params, tile, cacheKeys, diskTokens, i, loadedTiles);
        }
        }