summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/components/intents-filters.jd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/guide/components/intents-filters.jd')
-rw-r--r--docs/html/guide/components/intents-filters.jd4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/html/guide/components/intents-filters.jd b/docs/html/guide/components/intents-filters.jd
index 3dec216..0759088 100644
--- a/docs/html/guide/components/intents-filters.jd
+++ b/docs/html/guide/components/intents-filters.jd
@@ -376,9 +376,7 @@ the intent.</p>
Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, textMessage);
-sendIntent.setType({@link
- org.apache.http.protocol.HTTP#PLAIN_TEXT_TYPE
- HTTP.PLAIN_TEXT_TYPE}); // "text/plain" MIME type
+sendIntent.setType("text/plain");
// Verify that the intent will resolve to an activity
if (sendIntent.resolveActivity(getPackageManager()) != null) {