|
|
@ -248,7 +248,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|
|
|
public void onChanged(List<TupleAccountNetworkState> accountNetworkStates) {
|
|
|
|
public void onChanged(List<TupleAccountNetworkState> accountNetworkStates) {
|
|
|
|
if (accountNetworkStates == null) {
|
|
|
|
if (accountNetworkStates == null) {
|
|
|
|
// Destroy
|
|
|
|
// Destroy
|
|
|
|
for (TupleAccountNetworkState prev : serviceStates.keySet())
|
|
|
|
for (TupleAccountNetworkState prev : new ArrayList<>(serviceStates.keySet()))
|
|
|
|
stop(prev);
|
|
|
|
stop(prev);
|
|
|
|
|
|
|
|
|
|
|
|
quit();
|
|
|
|
quit();
|
|
|
|