Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f01f8e85 authored by Ricardo Cervera's avatar Ricardo Cervera
Browse files

docs: Fixed typo in intents page. Bug: 16949177

Change-Id: Ie3ae033932134058008dd17124f1bbd43e24a65d
parent 8319455a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1678,7 +1678,7 @@ android.net.Uri}s pointing to the images/videos to attach.</dd>
<p><b>Example intent:</b></p>
<p><b>Example intent:</b></p>
<pre>
<pre>
public void composeMmsMessage(String message, Uri attachment) {
public void composeMmsMessage(String message, Uri attachment) {
    Intent intent = new Intent(Intent.ACTION_SEND);
    Intent intent = new Intent(Intent.ACTION_SENDTO);
    intent.setType(HTTP.PLAIN_TEXT_TYPE);
    intent.setType(HTTP.PLAIN_TEXT_TYPE);
    intent.putExtra("sms_body", message);
    intent.putExtra("sms_body", message);
    intent.putExtra(Intent.EXTRA_STREAM, attachment);
    intent.putExtra(Intent.EXTRA_STREAM, attachment);