Skip to content
Snippets Groups Projects
Commit 61bd11c5 authored by Winson Chiu's avatar Winson Chiu Committed by Android (Google) Code Review
Browse files

Merge "Fix SettingsXml start tag logic" into sc-dev

parents cfbcacab ede1a4fc
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,10 @@ public class SettingsXml {
}
private void moveToFirstTag() throws IOException, XmlPullParserException {
// Move to first tag
if (mParser.getEventType() == XmlPullParser.START_TAG) {
return;
}
int type;
//noinspection StatementWithEmptyBody
while ((type = mParser.next()) != XmlPullParser.START_TAG
......
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