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

Commit 7850ce6e authored by Chen Xu's avatar Chen Xu Committed by Android (Google) Code Review
Browse files

Merge "move @hide API from IoUtils"

parents cdcaa671 5cba1ed9
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -370,7 +370,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) {
                }
            }
        }
    }