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

Skip to content
Commit 0b7175ce authored by d34d's avatar d34d Committed by Gerrit Code Review
Browse files

Handle case where profiles.xml was partially saved

If profiles.xml is only partially written out to disk when the device
reboots, it's possible for the parsing to end up in an endless loop
since we are not checking for XmlPullParser.END_DOCUMENT events.  This
patch adds checks for those events and throws an IOException.

Change-Id: I417774dd67053e73ba9a5a418d914aad22fe3c24
parent 9f387899
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment