Skip to content

Commit 82957e3

Browse files
Ricardo CerveraAndroid (Google) Code Review
authored andcommitted
Merge "docs: Fixed typo in intents page. Bug: 16949177" into klp-modular-docs
2 parents 7bf7b77 + f01f8e8 commit 82957e3

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)