Don't connectNow() on RUNNING, too soon to know that I2CP is ready
This commit is contained in:
@@ -147,7 +147,7 @@ public class BoteService extends Service implements NetworkStatusListener, NewEm
|
||||
try {
|
||||
mStateService.registerCallback(mStatusListener);
|
||||
String state = mStateService.getState();
|
||||
if ("RUNNING".equals(state) ||"ACTIVE".equals(state))
|
||||
if ("ACTIVE".equals(state))
|
||||
I2PBote.getInstance().connectNow();
|
||||
} catch (RemoteException e) {
|
||||
// TODO Auto-generated catch block
|
||||
|
||||
Reference in New Issue
Block a user