From e9e9d5afcbe5501c6e1d8e616f2cf495456f2ae1 Mon Sep 17 00:00:00 2001 From: cketti Date: Wed, 31 Aug 2011 02:12:01 +0200 Subject: [PATCH] Removed unused method --- src/com/fsck/k9/activity/MessageView.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageView.java b/src/com/fsck/k9/activity/MessageView.java index 0698e90d1..9a1fe2ca1 100644 --- a/src/com/fsck/k9/activity/MessageView.java +++ b/src/com/fsck/k9/activity/MessageView.java @@ -349,29 +349,20 @@ public class MessageView extends K9Activity implements OnClickListener { } - - public static void actionView(Context context, MessageReference messRef, ArrayList messReferences, final Intent originatingIntent) { - actionView(context, messRef, messReferences, null, originatingIntent); - } - /** * @param context * @param messRef * @param messReferences - * @param extras * @param originatingIntent * The intent that allow us to get back to the calling screen, for when the 'Manage * BACK' option is enabled. Never {@code null}. */ - public static void actionView(Context context, MessageReference messRef, ArrayList messReferences, Bundle extras, final Intent originatingIntent) { + public static void actionView(Context context, MessageReference messRef, ArrayList messReferences, final Intent originatingIntent) { Intent i = new Intent(context, MessageView.class); i.putExtra(EXTRA_MESSAGE_REFERENCE, messRef); i.putParcelableArrayListExtra(EXTRA_MESSAGE_REFERENCES, messReferences); i.putExtra(EXTRA_ORIGINATING_INTENT, originatingIntent); i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP|Intent.FLAG_ACTIVITY_NEW_TASK ); - if (extras != null) { - i.putExtras(extras); - } context.startActivity(i); }