1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-12 14:18:02 -05:00

Commented out enhancements introduced in r1443 so we don't loose Android 1.5 support.

This commit is contained in:
cketti 2010-02-13 19:35:47 +00:00
parent e435d9d616
commit ab4e2ca2ec
2 changed files with 5 additions and 1 deletions

View File

@ -195,11 +195,13 @@
<data android:mimeType="*/*" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<!-- Use once we drop Android 1.5 support
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<data android:mimeType="*/*" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
-->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="mailto" />

View File

@ -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<Parcelable> 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)