Clearing API permissions before connecting
This commit is contained in:
parent
3d5a57f896
commit
4ba6f1d25c
1 changed files with 1 additions and 0 deletions
|
@ -303,6 +303,7 @@ public class NetworkService {
|
||||||
FullNode fullNode = nodeProvider.getBestNode();
|
FullNode fullNode = nodeProvider.getBestNode();
|
||||||
if(fullNode != null){
|
if(fullNode != null){
|
||||||
System.out.println(String.format(Locale.ROOT, "Connected with %d latency results", latencyUpdateCounter));
|
System.out.println(String.format(Locale.ROOT, "Connected with %d latency results", latencyUpdateCounter));
|
||||||
|
mApiIds.clear();
|
||||||
connect();
|
connect();
|
||||||
}else{
|
}else{
|
||||||
Disposable d = Observable.timer(DEFAULT_INITIAL_DELAY, TimeUnit.MILLISECONDS).subscribe(this);
|
Disposable d = Observable.timer(DEFAULT_INITIAL_DELAY, TimeUnit.MILLISECONDS).subscribe(this);
|
||||||
|
|
Loading…
Reference in a new issue