Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a89f79c

Browse files
author
tao
committedJun 19, 2017
fix setWifiRequired bug
1 parent 086bbc4 commit a89f79c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/src/main/java/com/liulishuo/filedownloader/FileDownloadQueueSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public void start() {
155155
}
156156

157157
if (this.isWifiRequired != null) {
158-
task.setWifiRequired(true);
158+
task.setWifiRequired(this.isWifiRequired);
159159
}
160160

161161
task.asInQueueTask().enqueue();

0 commit comments

Comments
 (0)
Failed to load comments.