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

Commit 96c1980c authored by Chen Xu's avatar Chen Xu Committed by android-build-merger
Browse files

Merge "move @hide API from IoUtils" am: 92ad4435 am: 4c0c0741

am: b1cb58a9

Change-Id: I09b65d009da46bc82ff5b7d52cbd65f4c4426565
parents c082babe b1cb58a9
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) {
                }
            }
        }
    }