diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-03-26 00:17:26 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-03-26 00:17:26 +0100 |
commit | 0c37abf1e9d9d285f601a9f8aa128bf4382685fd (patch) | |
tree | ed385042f6690b92a45b45bbb4ab19c9b6b45830 /src/eu/siacs/conversations/xml | |
parent | 8b85b603d300d94d7db68072dbaf75b74f65af14 (diff) |
made work around not being a work around any more
Diffstat (limited to 'src/eu/siacs/conversations/xml')
-rw-r--r-- | src/eu/siacs/conversations/xml/XmlReader.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/xml/XmlReader.java b/src/eu/siacs/conversations/xml/XmlReader.java index 131141dd..fdf5835a 100644 --- a/src/eu/siacs/conversations/xml/XmlReader.java +++ b/src/eu/siacs/conversations/xml/XmlReader.java @@ -47,12 +47,9 @@ public class XmlReader { public Tag readTag() throws XmlPullParserException, IOException { if (wakeLock.isHeld()) { - //Log.d(LOGTAG,"there was a wake lock. releasing it till next event"); wakeLock.release(); //release wake look while waiting on next parser event } - //Log.d(LOGTAG,"waiting for new event..."); while(parser.next() != XmlPullParser.END_DOCUMENT) { - //Log.d(LOGTAG,"found new event. acquiring wake lock"); wakeLock.acquire(); if (parser.getEventType() == XmlPullParser.START_TAG) { Tag tag = Tag.start(parser.getName()); |