From 1a9f5d60bf0f65d551b77e61868e979eb59cc835 Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Fri, 24 Feb 2017 10:30:45 +1100 Subject: [PATCH] Remove dead code --- .../fdroid/installer/InstallManagerService.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/app/src/main/java/org/fdroid/fdroid/installer/InstallManagerService.java b/app/src/main/java/org/fdroid/fdroid/installer/InstallManagerService.java index daec607db..949d5bdf3 100644 --- a/app/src/main/java/org/fdroid/fdroid/installer/InstallManagerService.java +++ b/app/src/main/java/org/fdroid/fdroid/installer/InstallManagerService.java @@ -72,20 +72,6 @@ public class InstallManagerService extends Service { private static final String EXTRA_APP = "org.fdroid.fdroid.installer.extra.APP"; private static final String EXTRA_APK = "org.fdroid.fdroid.installer.extra.APK"; - /** - * The collection of {@link Apk}s that are actively going through this whole process, - * matching the {@link App}s in {@code ACTIVE_APPS}. The key is the download URL, as - * in {@link Apk#getUrl()} or {@code urlString}. - */ - //private static final HashMap ACTIVE_APKS = new HashMap<>(3); - - /** - * The collection of {@link App}s that are actively going through this whole process, - * matching the {@link Apk}s in {@code ACTIVE_APKS}. The key is the - * {@code packageName} of the app. - */ - //private static final HashMap ACTIVE_APPS = new HashMap<>(3); - private LocalBroadcastManager localBroadcastManager; private AppUpdateStatusManager appUpdateStatusManager; @@ -271,7 +257,6 @@ public class InstallManagerService extends Service { intentObject.setData(downloadUri); PendingIntent action = PendingIntent.getService(context, 0, intentObject, 0); appUpdateStatusManager.updateApk(urlString, AppUpdateStatusManager.Status.Downloading, action); - // nothing to do break; case Downloader.ACTION_PROGRESS: int bytesRead = intent.getIntExtra(Downloader.EXTRA_BYTES_READ, 0);