Made constructor of ApkDownloader public.
Previously it was in the org.fdroid.fdroid package, along with most other things. As such, it only need a package-local constructor. However, now it has moved to the .net subpackage, and needs to be made public.
This commit is contained in:
parent
d9e5b07054
commit
2f7d6f6452
@ -70,7 +70,7 @@ public class ApkDownloader implements AsyncDownloadWrapper.Listener {
|
|||||||
setProgressListener(null);
|
setProgressListener(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
ApkDownloader(Apk apk, String repoAddress, File destDir) {
|
public ApkDownloader(Apk apk, String repoAddress, File destDir) {
|
||||||
curApk = apk;
|
curApk = apk;
|
||||||
this.repoAddress = repoAddress;
|
this.repoAddress = repoAddress;
|
||||||
localFile = new File(destDir, curApk.apkName);
|
localFile = new File(destDir, curApk.apkName);
|
||||||
@ -241,4 +241,4 @@ public class ApkDownloader implements AsyncDownloadWrapper.Listener {
|
|||||||
public int getTotalSize() {
|
public int getTotalSize() {
|
||||||
return totalSize;
|
return totalSize;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user