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

Commit 4c0c0741 authored by Chen Xu's avatar Chen Xu Committed by android-build-merger
Browse files

Merge "move @hide API from IoUtils"

am: 92ad4435

Change-Id: I67ba73ad743e2d6babdd602f1643947c80cff68b
parents c8df3523 92ad4435
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -371,7 +371,15 @@ public class EmergencyNumberTracker extends Handler {
        } catch (IOException ex) {
            loge("Cache emergency database failure: " + ex);
        } finally {
            IoUtils.closeQuietly(inputStream);
            // close quietly by catching non-runtime exceptions.
            if (inputStream != null) {
                try {
                    inputStream.close();
                } catch (RuntimeException rethrown) {
                    throw rethrown;
                } catch (Exception ignored) {
                }
            }
        }
    }