todos clean
This commit is contained in:
parent
1f696691d0
commit
f01b03979d
3 changed files with 1 additions and 9 deletions
|
@ -19,7 +19,7 @@ public class Constants {
|
|||
|
||||
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;
|
||||
|
||||
|
|
|
@ -79,7 +79,6 @@ public class DanaConnection {
|
|||
|
||||
private static final UUID SPP_UUID = UUID.fromString("00001101-0000-1000-8000-00805f9b34fb");
|
||||
|
||||
// TODO: keepalive kills active connection
|
||||
public DanaConnection(Bus bus) {
|
||||
danaRFragment = (DanaRFragment) MainActivity.getSpecificPlugin(DanaRFragment.class);
|
||||
danaRFragment.setDanaConnection(this);
|
||||
|
|
|
@ -142,11 +142,4 @@ public class DanaRService extends Service {
|
|||
public IBinder onBind(Intent intent) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
if (Config.logFunctionCalls)
|
||||
log.info("onCreate");
|
||||
mHandler = new Handler(); // TODO: not needed???
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue