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

Skip to content
Commit cbd968f4 authored by d34d's avatar d34d Committed by Clark Scheff
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
(cherry picked from commit 959762d5)
parent 7e538816
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