Skip to content

Commit 5d40c26

Browse files
authored
Merge pull request #1271 from lingochamp/fix/demo
demo: correct single task sample url
2 parents cc58548 + d216598 commit 5d40c26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/src/main/java/com/liulishuo/filedownloader/demo/SingleTaskTestActivity.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ private BaseDownloadTask createDownloadTask(final int position) {
157157

158158
switch (position) {
159159
case 1:
160-
// url = Constant.LIULISHUO_APK_URL;
161-
url = "http://static.open.baidu.com/media/ch1000/png/chenweiting.png";
160+
url = Constant.LIULISHUO_APK_URL;
162161
tag = new ViewHolder(new WeakReference<>(this), progressBar1, null, speedTv1, 1);
163162
path = llsApkFilePath;
164163
tag.setFilenameTv(filenameTv1);

demo/src/main/res/xml/network_security_config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<network-security-config>
33
<domain-config cleartextTrafficPermitted="true">
44
<domain includeSubdomains="true">cdn.llsapp.com</domain>
5+
<domain includeSubdomains="true">117.143.109.173</domain>
56
<domain includeSubdomains="true">httpwatch.com</domain>
67
<domain includeSubdomains="true">mirror.internode.on.net</domain>
78
<domain includeSubdomains="true">download.chinaunix.net</domain>

0 commit comments

Comments
 (0)