Prevent error when user has no email client.
Fixes #10212 Thanks to @ali-khannakhjavani Co-authored-by: ali-khannakhjavani
This commit is contained in:
parent
dda51bf367
commit
bcfbed9b3f
2 changed files with 2 additions and 1 deletions
|
@ -156,7 +156,7 @@ public class CommunicationActions {
|
|||
intent.putExtra(Intent.EXTRA_SUBJECT, Util.emptyIfNull(subject));
|
||||
intent.putExtra(Intent.EXTRA_TEXT, Util.emptyIfNull(body));
|
||||
|
||||
context.startActivity(intent);
|
||||
context.startActivity(Intent.createChooser(intent, context.getString(R.string.CommunicationActions_send_email)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -173,6 +173,7 @@
|
|||
<!-- CommunicationActions -->
|
||||
<string name="CommunicationActions_no_browser_found">No web browser found.</string>
|
||||
<string name="CommunicationActions_no_email_app_found">No email app found.</string>
|
||||
<string name="CommunicationActions_send_email">Send email</string>
|
||||
<string name="CommunicationActions_a_cellular_call_is_already_in_progress">A cellular call is already in progress.</string>
|
||||
<string name="CommunicationActions_start_video_call">Start video call?</string>
|
||||
<string name="CommunicationActions_start_voice_call">Start voice call?</string>
|
||||
|
|
Loading…
Add table
Reference in a new issue