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

Commit b1a0aa2b authored by Michael Bestas's avatar Michael Bestas
Browse files

Revert "Fix a bootloop problem when /data/system/usagestats/usage-history.xml...

Revert "Fix a bootloop problem when /data/system/usagestats/usage-history.xml is empty. This often occurs after an incomplete reboot/shutdown or battery pull."

This reverts commit e290de5e.

Change-Id: I5c30ef4560bed7c83243517ba8868069f2777613
parent d426af35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -396,7 +396,7 @@ public final class UsageStatsService extends IUsageStats.Stub {
            XmlPullParser parser = Xml.newPullParser();
            parser.setInput(fis, null);
            int eventType = parser.getEventType();
            while (eventType != XmlPullParser.START_TAG && eventType != XmlPullParser.END_DOCUMENT) {
            while (eventType != XmlPullParser.START_TAG) {
                eventType = parser.next();
            }
            String tagName = parser.getName();