Start KeepAliveService after pump init.
This commit is contained in:
parent
41dcf8d6f4
commit
4767809931
|
@ -167,9 +167,6 @@ public class MainApp extends Application {
|
|||
else
|
||||
Answers.getInstance().logCustom(new CustomEvent("AppStart"));
|
||||
|
||||
|
||||
startKeepAliveService();
|
||||
|
||||
Thread t = new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
@ -177,8 +174,9 @@ public class MainApp extends Application {
|
|||
PumpInterface pump = MainApp.getConfigBuilder();
|
||||
if (pump != null)
|
||||
pump.refreshDataFromPump("Initialization");
|
||||
startKeepAliveService();
|
||||
}
|
||||
});
|
||||
}, "pump-initialization");
|
||||
t.start();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue