From c16f159c5cf7b5aaa95ff076fc6147a30c01961c Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 19 Feb 2016 10:51:09 +0100 Subject: [PATCH] Updated to do's --- app/src/main/java/eu/faircode/netguard/DatabaseHelper.java | 2 -- app/src/main/jni/netguard/tcp.c | 1 - 2 files changed, 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java b/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java index 1e561a0f..f2391ac6 100644 --- a/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java +++ b/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java @@ -57,8 +57,6 @@ public class DatabaseHelper extends SQLiteOpenHelper { private ReentrantReadWriteLock mLock = new ReentrantReadWriteLock(true); - // TODO precompiled statements - static { hthread = new HandlerThread("DatabaseHelper"); hthread.start(); diff --git a/app/src/main/jni/netguard/tcp.c b/app/src/main/jni/netguard/tcp.c index fe02906d..618b4ddf 100644 --- a/app/src/main/jni/netguard/tcp.c +++ b/app/src/main/jni/netguard/tcp.c @@ -706,7 +706,6 @@ jboolean handle_tcp(const struct arguments *args, cur->acked = ack; } - // TODO terminate connection if difference too large return 1; } else {