From ab4e2ca2ecd2625c2030fbe2d8696dc8ecae818f Mon Sep 17 00:00:00 2001 From: cketti Date: Sat, 13 Feb 2010 19:35:47 +0000 Subject: [PATCH] Commented out enhancements introduced in r1443 so we don't loose Android 1.5 support. --- AndroidManifest.xml | 2 ++ src/com/fsck/k9/activity/MessageCompose.java | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9a42a1bce..29c588b36 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -195,11 +195,13 @@ + diff --git a/src/com/fsck/k9/activity/MessageCompose.java b/src/com/fsck/k9/activity/MessageCompose.java index 02f75ed06..7309b8530 100644 --- a/src/com/fsck/k9/activity/MessageCompose.java +++ b/src/com/fsck/k9/activity/MessageCompose.java @@ -390,7 +390,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc } } } - else if (Intent.ACTION_SEND.equals(action) || Intent.ACTION_SEND_MULTIPLE.equals(action)) + else if (Intent.ACTION_SEND.equals(action) /*|| Intent.ACTION_SEND_MULTIPLE.equals(action)*/) { /* * Someone is trying to compose an email with an attachment, probably Pictures. @@ -409,6 +409,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc } String type = intent.getType(); + /* Use once we drop Android 1.5 support if (Intent.ACTION_SEND_MULTIPLE.equals(action)) { ArrayList list = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM); @@ -428,6 +429,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc } } else + */ { Uri stream = (Uri) intent.getParcelableExtra(Intent.EXTRA_STREAM); if (stream != null && type != null)