Moved ApkDownloader to .net package

This is where it belongs, along with the other downloader code.
This commit is contained in:
Peter Serwylo 2014-05-20 06:13:15 +09:30
parent 1e1be1e73b
commit 75586ec4e5
2 changed files with 5 additions and 6 deletions

View File

@ -68,6 +68,7 @@ import org.fdroid.fdroid.data.*;
import org.fdroid.fdroid.installer.Installer;
import org.fdroid.fdroid.installer.Installer.AndroidNotCompatibleException;
import org.fdroid.fdroid.installer.Installer.InstallerCallback;
import org.fdroid.fdroid.net.ApkDownloader;
import org.fdroid.fdroid.net.Downloader;
import org.xml.sax.XMLReader;

View File

@ -18,15 +18,13 @@
* MA 02110-1301, USA.
*/
package org.fdroid.fdroid;
package org.fdroid.fdroid.net;
import android.os.Bundle;
import android.util.Log;
import org.fdroid.fdroid.Hasher;
import org.fdroid.fdroid.ProgressListener;
import org.fdroid.fdroid.data.Apk;
import org.fdroid.fdroid.net.AsyncDownloadWrapper;
import org.fdroid.fdroid.net.Downloader;
import org.fdroid.fdroid.net.HttpDownloader;
import java.io.File;
import java.io.IOException;
@ -35,7 +33,7 @@ import java.security.NoSuchAlgorithmException;
public class ApkDownloader implements AsyncDownloadWrapper.Listener {
private static final String TAG = "org.fdroid.fdroid.ApkDownloader";
private static final String TAG = "org.fdroid.fdroid.net.ApkDownloader";
public static final String EVENT_APK_DOWNLOAD_COMPLETE = "apkDownloadComplete";
public static final String EVENT_APK_DOWNLOAD_CANCELLED = "apkDownloadCancelled";