diff --git a/src/org/fdroid/fdroid/UpdateService.java b/src/org/fdroid/fdroid/UpdateService.java index 7a6336bf8..49d2131a6 100644 --- a/src/org/fdroid/fdroid/UpdateService.java +++ b/src/org/fdroid/fdroid/UpdateService.java @@ -26,8 +26,6 @@ import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; -import android.net.ConnectivityManager; -import android.net.NetworkInfo; import android.os.IBinder; import android.os.SystemClock; import android.preference.PreferenceManager; @@ -96,12 +94,6 @@ public class UpdateService extends Service { .currentTimeMillis()) return; - // Make sure we have a connection... - ConnectivityManager netstate = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); - if (netstate.getNetworkInfo(1).getState() != NetworkInfo.State.CONNECTED - && netstate.getNetworkInfo(0).getState() != NetworkInfo.State.CONNECTED) - return; - // Do the update... DB db = null; try {