1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Fixes Issue 1641

Populate text and subject when handling ACTION_SENDTO
This commit is contained in:
Daniel Applebaum 2010-05-20 11:08:40 +00:00
parent 59f22d8e7e
commit f318fc159b

View File

@ -395,7 +395,9 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
}
}
//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_SENDTO.equals(action)
|| "android.intent.action.SEND_MULTIPLE".equals(action))
{
/*
* Someone is trying to compose an email with an attachment, probably Pictures.