diff options
author | 2022-12-06 18:29:52 +0000 | |
---|---|---|
committer | 2022-12-06 18:37:44 +0000 | |
commit | a5dc8a76ddb5bd1011a35d73e44af88568e1d85e (patch) | |
tree | 41473f07c2ef94799bd12d61acedae0c11c991cd /location | |
parent | bdb3330e58591c1db58ced744ea33f39b323a679 (diff) |
Removes catch on IOException as GeoidHeightMap#loadFromCacheAndDisk supports this type of throw.
Relnote: N/A
Bug: 231327615
Test: atest CtsLocationNoneTestCases
Change-Id: I7a89f51d60837f709dce9b28afd1b52c49c339cf
Diffstat (limited to 'location')
-rw-r--r-- | location/java/com/android/internal/location/altitude/GeoidHeightMap.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/location/java/com/android/internal/location/altitude/GeoidHeightMap.java b/location/java/com/android/internal/location/altitude/GeoidHeightMap.java index e113ab411d98..6430eb4efad2 100644 --- a/location/java/com/android/internal/location/altitude/GeoidHeightMap.java +++ b/location/java/com/android/internal/location/altitude/GeoidHeightMap.java @@ -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); } |