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)