mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Use Intent.ACTION_SEND_MULTIPLE instead of string constant
This commit is contained in:
parent
07fa0c7264
commit
8c8b3eea9e
@ -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.
|
* 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) || Intent.ACTION_SEND_MULTIPLE.equals(action)) {
|
||||||
else if (Intent.ACTION_SEND.equals(action) ||
|
|
||||||
"android.intent.action.SEND_MULTIPLE".equals(action)) {
|
|
||||||
/*
|
/*
|
||||||
* Note: Here we allow a slight deviation from the documentated behavior.
|
* Note: Here we allow a slight deviation from the documentated behavior.
|
||||||
* EXTRA_TEXT is used as message body (if available) regardless of the MIME
|
* EXTRA_TEXT is used as message body (if available) regardless of the MIME
|
||||||
|
Loading…
Reference in New Issue
Block a user