summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRicardo Cervera <rcervera@google.com>2014-08-21 17:31:31 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-21 17:31:31 +0000
commitc1da9cbff5d5b597fd58cbb578a1eadc6f479c80 (patch)
treefd5a992c1c81ee8663d8677b3bc7a02e157a3c61 /docs
parente415ebc634c98b5a6aaa42c0698b7482e44b3b3f (diff)
parent2c374e643d6cce73a71fb57559f898b6b554e36c (diff)
downloadframeworks_base-c1da9cbff5d5b597fd58cbb578a1eadc6f479c80.zip
frameworks_base-c1da9cbff5d5b597fd58cbb578a1eadc6f479c80.tar.gz
frameworks_base-c1da9cbff5d5b597fd58cbb578a1eadc6f479c80.tar.bz2
am 2c374e64: am 82957e38: Merge "docs: Fixed typo in intents page. Bug: 16949177" into klp-modular-docs
* commit '2c374e643d6cce73a71fb57559f898b6b554e36c': docs: Fixed typo in intents page. Bug: 16949177
Diffstat (limited to 'docs')
-rw-r--r--docs/html/guide/components/intents-common.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/components/intents-common.jd b/docs/html/guide/components/intents-common.jd
index 3b52b0a..af9456d 100644
--- a/docs/html/guide/components/intents-common.jd
+++ b/docs/html/guide/components/intents-common.jd
@@ -1678,7 +1678,7 @@ android.net.Uri}s pointing to the images/videos to attach.</dd>
<p><b>Example intent:</b></p>
<pre>
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.putExtra("sms_body", message);
intent.putExtra(Intent.EXTRA_STREAM, attachment);