Skip to content

Commit f01f8e8

Browse files
author
Ricardo Cervera
committed
docs: Fixed typo in intents page. Bug: 16949177
Change-Id: Ie3ae033932134058008dd17124f1bbd43e24a65d
1 parent 8319455 commit f01f8e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/html/guide/components/intents-common.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,7 @@ android.net.Uri}s pointing to the images/videos to attach.</dd>
16781678
<p><b>Example intent:</b></p>
16791679
<pre>
16801680
public void composeMmsMessage(String message, Uri attachment) {
1681-
Intent intent = new Intent(Intent.ACTION_SEND);
1681+
Intent intent = new Intent(Intent.ACTION_SENDTO);
16821682
intent.setType(HTTP.PLAIN_TEXT_TYPE);
16831683
intent.putExtra("sms_body", message);
16841684
intent.putExtra(Intent.EXTRA_STREAM, attachment);

0 commit comments

Comments
 (0)