work around xml parser issues...

This commit is contained in:
iNPUTmice 2014-08-09 11:37:30 +02:00
parent d486d5def9
commit 0cda7f7819

View File

@ -54,7 +54,7 @@ public class XmlReader {
try { wakeLock.release();} catch (RuntimeException re) {} try { wakeLock.release();} catch (RuntimeException re) {}
} }
try { try {
while(parser.next() != XmlPullParser.END_DOCUMENT && this.is != null) { while(this.is != null && parser.next() != XmlPullParser.END_DOCUMENT) {
wakeLock.acquire(); wakeLock.acquire();
if (parser.getEventType() == XmlPullParser.START_TAG) { if (parser.getEventType() == XmlPullParser.START_TAG) {
Tag tag = Tag.start(parser.getName()); Tag tag = Tag.start(parser.getName());