From 8c8b3eea9ed117998079d38824c892356d703514 Mon Sep 17 00:00:00 2001 From: cketti Date: Thu, 10 Nov 2011 05:44:30 +0100 Subject: [PATCH] Use Intent.ACTION_SEND_MULTIPLE instead of string constant --- src/com/fsck/k9/activity/MessageCompose.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageCompose.java b/src/com/fsck/k9/activity/MessageCompose.java index d6e4e546f..8ac87ae0f 100644 --- a/src/com/fsck/k9/activity/MessageCompose.java +++ b/src/com/fsck/k9/activity/MessageCompose.java @@ -662,9 +662,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc * it wrong! So go fix your program or get AOSP to change the documentation. */ } - //TODO: Use constant Intent.ACTION_SEND_MULTIPLE once we drop Android 1.5 support - else if (Intent.ACTION_SEND.equals(action) || - "android.intent.action.SEND_MULTIPLE".equals(action)) { + else if (Intent.ACTION_SEND.equals(action) || Intent.ACTION_SEND_MULTIPLE.equals(action)) { /* * Note: Here we allow a slight deviation from the documentated behavior. * EXTRA_TEXT is used as message body (if available) regardless of the MIME