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

This commit is contained in:
Winson Chiu
2021-02-17 23:23:05 +00:00
committed by Android (Google) Code Review

View File

@@ -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