aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-07-03 12:50:23 -0700
committerScott Jackson <daneren2005@gmail.com>2014-07-03 12:50:23 -0700
commit5f51bae6238b30cfa7df12276fea63ce7b9b7cac (patch)
tree289202d0d220b6b6b8b9dde8211eebe28b5a7665 /src
parent31f7a64aa97003874db567b1a78d0fa5d0bdaea9 (diff)
downloaddsub-5f51bae6238b30cfa7df12276fea63ce7b9b7cac.tar.gz
dsub-5f51bae6238b30cfa7df12276fea63ce7b9b7cac.tar.bz2
dsub-5f51bae6238b30cfa7df12276fea63ce7b9b7cac.zip
Check wifi requirement for checkDownloads
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index a998c655..f28c38dc 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -1606,7 +1606,7 @@ public class DownloadService extends Service {
checkShufflePlay();
}
- if (remoteState != RemoteControlState.LOCAL || !Util.isNetworkConnected(this) || Util.isOffline(this)) {
+ if (remoteState != RemoteControlState.LOCAL || !Util.isNetworkConnected(this, true) || Util.isOffline(this)) {
return;
}