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

Commit 77cf1fac authored by Theodore Dubois's avatar Theodore Dubois
Browse files

Log the exception when parsing settings fails

Test: compile
Change-Id: Ifb96bff3e0bf35bcff2635c8d03a09ae5200ffa1
parent 3e7dbafe
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1087,6 +1087,7 @@ final class SettingsState {
            parseStateLocked(parser);
            parseStateLocked(parser);
            return true;
            return true;
        } catch (XmlPullParserException | IOException e) {
        } catch (XmlPullParserException | IOException e) {
            Slog.e(LOG_TAG, "parse settings xml failed", e);
            return false;
            return false;
        } finally {
        } finally {
            IoUtils.closeQuietly(in);
            IoUtils.closeQuietly(in);