work around xml parser issues...

iNPUTmice created

Change summary

src/eu/siacs/conversations/xml/XmlReader.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

src/eu/siacs/conversations/xml/XmlReader.java 🔗

@@ -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());