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

Commit cf268275 authored by Hui Yu's avatar Hui Yu Committed by Android (Google) Code Review
Browse files

Merge "Do not print exception and stack trace."

parents a06c4b62 6849f9a6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ final class UsageStatsXmlV1 {
        try {
            event.mInstanceId = XmlUtils.readIntAttribute(parser, INSTANCE_ID_ATTR);
        } catch (IOException e) {
            Log.e(TAG, "Failed to parse mInstanceId", e);
            Log.i(TAG, "Failed to parse mInstanceId");
        }

        switch (event.mEventType) {
@@ -390,13 +390,13 @@ final class UsageStatsXmlV1 {
        try {
            statsOut.majorVersion = XmlUtils.readIntAttribute(parser, MAJOR_VERSION_ATTR);
        } catch (IOException e) {
            Log.e(TAG, "Failed to parse majorVersion", e);
            Log.i(TAG, "Failed to parse majorVersion");
        }

        try {
            statsOut.minorVersion = XmlUtils.readIntAttribute(parser, MINOR_VERSION_ATTR);
        } catch (IOException e) {
            Log.e(TAG, "Failed to parse minorVersion", e);
            Log.i(TAG, "Failed to parse minorVersion");
        }

        int eventCode;