work around xml parser issues...
This commit is contained in:
parent
d486d5def9
commit
0cda7f7819
|
@ -54,7 +54,7 @@ public class XmlReader {
|
|||
try { wakeLock.release();} catch (RuntimeException re) {}
|
||||
}
|
||||
try {
|
||||
while(parser.next() != XmlPullParser.END_DOCUMENT && this.is != null) {
|
||||
while(this.is != null && parser.next() != XmlPullParser.END_DOCUMENT) {
|
||||
wakeLock.acquire();
|
||||
if (parser.getEventType() == XmlPullParser.START_TAG) {
|
||||
Tag tag = Tag.start(parser.getName());
|
||||
|
|
Loading…
Reference in a new issue