From 21ce8ad164c6ba23f65ffc10a19dbb30a1135f47 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Sun, 30 Jan 2011 20:53:53 +0000 Subject: [PATCH] Correction to b30fc715 - need to get rid of the check in the update service as well --- src/org/fdroid/fdroid/UpdateService.java | 8 -------- 1 file changed, 8 deletions(-) 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 {