mirror of https://github.com/M66B/NetGuard.git
Cleanup
This commit is contained in:
parent
a7e8147943
commit
8e64117af9
|
@ -523,8 +523,6 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
||||||
cv.put("protocol", packet.protocol);
|
cv.put("protocol", packet.protocol);
|
||||||
cv.put("daddr", dname == null ? packet.daddr : dname);
|
cv.put("daddr", dname == null ? packet.daddr : dname);
|
||||||
cv.put("dport", packet.dport);
|
cv.put("dport", packet.dport);
|
||||||
if (block < 0)
|
|
||||||
cv.put("block", block);
|
|
||||||
|
|
||||||
if (db.insert("access", null, cv) == -1)
|
if (db.insert("access", null, cv) == -1)
|
||||||
Log.e(TAG, "Insert access failed");
|
Log.e(TAG, "Insert access failed");
|
||||||
|
|
Loading…
Reference in New Issue