Fixed duplicate sends

pull/178/head
M66B 5 years ago
parent 6646fb4567
commit 49c8e3c1c6

@ -68,7 +68,8 @@ public class ServiceSend extends ServiceBase {
private PowerManager.WakeLock wlOutbox; private PowerManager.WakeLock wlOutbox;
private TwoStateOwner owner = new TwoStateOwner("send"); private TwoStateOwner owner = new TwoStateOwner("send");
private ExecutorService executor = Helper.getBackgroundExecutor(1, "send");
private static ExecutorService executor = Helper.getBackgroundExecutor(1, "send");
private static final int PI_SEND = 1; private static final int PI_SEND = 1;
private static final long CONNECTIVITY_DELAY = 5000L; // milliseconds private static final long CONNECTIVITY_DELAY = 5000L; // milliseconds

Loading…
Cancel
Save