todos clean

This commit is contained in:
Milos Kozak 2016-07-15 20:36:45 +02:00
parent 1f696691d0
commit f01b03979d
3 changed files with 1 additions and 9 deletions

View file

@ -19,7 +19,7 @@ public class Constants {
public static final Integer notificationID = 556677; public static final Integer notificationID = 556677;
public static final int hoursToKeepInDatabase = 24; public static final int hoursToKeepInDatabase = 72;
public static final long keepAliveMsecs = 30 * 60 * 1000L; public static final long keepAliveMsecs = 30 * 60 * 1000L;

View file

@ -79,7 +79,6 @@ public class DanaConnection {
private static final UUID SPP_UUID = UUID.fromString("00001101-0000-1000-8000-00805f9b34fb"); private static final UUID SPP_UUID = UUID.fromString("00001101-0000-1000-8000-00805f9b34fb");
// TODO: keepalive kills active connection
public DanaConnection(Bus bus) { public DanaConnection(Bus bus) {
danaRFragment = (DanaRFragment) MainActivity.getSpecificPlugin(DanaRFragment.class); danaRFragment = (DanaRFragment) MainActivity.getSpecificPlugin(DanaRFragment.class);
danaRFragment.setDanaConnection(this); danaRFragment.setDanaConnection(this);

View file

@ -142,11 +142,4 @@ public class DanaRService extends Service {
public IBinder onBind(Intent intent) { public IBinder onBind(Intent intent) {
return null; return null;
} }
@Override
public void onCreate() {
if (Config.logFunctionCalls)
log.info("onCreate");
mHandler = new Handler(); // TODO: not needed???
}
} }