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

Commit 8d9994ab authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "profiles: Handle corrupt profiles.xml" into gingerbread

parents 40629ddb af33dd43
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -416,6 +416,8 @@ public class ProfileManagerService extends IProfileManager.Stub {
                    NotificationGroup ng = NotificationGroup.fromXml(xpp, context);
                    addNotificationGroupInternal(ng);
                }
            } else if (event == XmlPullParser.END_DOCUMENT) {
                throw new IOException("Premature end of file while reading " + PROFILE_FILENAME);
            }
            event = xpp.next();
        }