From f4eb0ea9bab737b9d0e508294e7aa61dbf9531a4 Mon Sep 17 00:00:00 2001 From: cketti Date: Thu, 18 Feb 2021 02:03:09 +0100 Subject: [PATCH] Remove unused code --- .../java/com/fsck/k9/ui/messageview/MessageViewFragment.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/ui/legacy/src/main/java/com/fsck/k9/ui/messageview/MessageViewFragment.java b/app/ui/legacy/src/main/java/com/fsck/k9/ui/messageview/MessageViewFragment.java index 65120341b..dd0a890b4 100644 --- a/app/ui/legacy/src/main/java/com/fsck/k9/ui/messageview/MessageViewFragment.java +++ b/app/ui/legacy/src/main/java/com/fsck/k9/ui/messageview/MessageViewFragment.java @@ -6,7 +6,6 @@ import java.util.List; import java.util.Locale; import android.app.Activity; -import android.app.DownloadManager; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; @@ -93,7 +92,6 @@ public class MessageViewFragment extends Fragment implements ConfirmationDialogF private MessageReference mMessageReference; private LocalMessage mMessage; private MessagingController mController; - private DownloadManager downloadManager; private Handler handler = new Handler(); private MessageLoaderHelper messageLoaderHelper; private MessageCryptoPresenter messageCryptoPresenter; @@ -140,7 +138,6 @@ public class MessageViewFragment extends Fragment implements ConfirmationDialogF Context context = getActivity().getApplicationContext(); mController = MessagingController.getInstance(context); - downloadManager = (DownloadManager) context.getSystemService(Context.DOWNLOAD_SERVICE); messageCryptoPresenter = new MessageCryptoPresenter(messageCryptoMvpView); messageLoaderHelper = messageLoaderHelperFactory.createForMessageView( context, getLoaderManager(), getParentFragmentManager(), messageLoaderCallbacks);