mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
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 { 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());
|
||||||
|
Loading…
Reference in New Issue
Block a user