Update issue 2379
Status: Fixed Extracted Intent.ACTION_SENDTO handling in a separate block to extract data from URI (as opposed to ACTION_SEND which uses Intent extras to pass data)
This commit is contained in:
parent
f6064ff19f
commit
bb64a0ab01
1 changed files with 10 additions and 1 deletions
|
@ -477,9 +477,18 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (Intent.ACTION_SENDTO.equals(action))
|
||||
{
|
||||
final Uri uri = intent.getData();
|
||||
|
||||
// look for recipient address
|
||||
if (uri != null && "mailto".equals(uri.getScheme()))
|
||||
{
|
||||
initializeFromMailTo(uri.toString());
|
||||
}
|
||||
}
|
||||
//TODO: Use constant Intent.ACTION_SEND_MULTIPLE once we drop Android 1.5 support
|
||||
else if (Intent.ACTION_SEND.equals(action)
|
||||
|| Intent.ACTION_SENDTO.equals(action)
|
||||
|| "android.intent.action.SEND_MULTIPLE".equals(action))
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue