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

Commit 690f78ad authored by Edward Cunningham's avatar Edward Cunningham
Browse files

Fix UsageStats to report correct endTime from XML

Bug: 19529542
Change-Id: Iacb1a245a40c6b88ae15740797217f59d5fca1e6
parent bd4b5b7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ final class UsageStatsXmlV1 {
            statsOut.events.clear();
        }

        statsOut.endTime = XmlUtils.readLongAttribute(parser, END_TIME_ATTR);
        statsOut.endTime = statsOut.beginTime + XmlUtils.readLongAttribute(parser, END_TIME_ATTR);

        int eventCode;
        int outerDepth = parser.getDepth();