Correction to b30fc715 - need to get rid of the check in the update service as well
This commit is contained in:
parent
51bb6ed852
commit
21ce8ad164
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user