more logs

This commit is contained in:
Milos Kozak 2018-08-21 19:53:59 +02:00
parent 0817809417
commit 5114335005
2 changed files with 5 additions and 1 deletions

View file

@ -167,7 +167,9 @@ public class CommandQueue {
} }
} }
public static void independentConnect(String reason, Callback callback) { public void independentConnect(String reason, Callback callback) {
if (L.isEnabled(L.PUMPQUEUE))
log.debug("Starting new queue");
CommandQueue tempCommandQueue = new CommandQueue(); CommandQueue tempCommandQueue = new CommandQueue();
tempCommandQueue.readStatus(reason, callback); tempCommandQueue.readStatus(reason, callback);
} }

View file

@ -168,6 +168,8 @@ public class QueueThread extends Thread {
} }
} finally { } finally {
mWakeLock.release(); mWakeLock.release();
if (L.isEnabled(L.PUMPQUEUE))
log.debug("thread end");
} }
} }
} }