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:
Peter Serwylo 2014-05-20 10:27:13 +10:00 committed by Peter Serwylo
parent d9e5b07054
commit 2f7d6f6452

View File

@ -70,7 +70,7 @@ public class ApkDownloader implements AsyncDownloadWrapper.Listener {
setProgressListener(null);
}
ApkDownloader(Apk apk, String repoAddress, File destDir) {
public ApkDownloader(Apk apk, String repoAddress, File destDir) {
curApk = apk;
this.repoAddress = repoAddress;
localFile = new File(destDir, curApk.apkName);
@ -241,4 +241,4 @@ public class ApkDownloader implements AsyncDownloadWrapper.Listener {
public int getTotalSize() {
return totalSize;
}
}
}