summaryrefslogtreecommitdiffstats
path: root/docs/html/training/basics/intents/sending.jd
diff options
context:
space:
mode:
authorJoe Malin <jmalin@google.com>2013-10-12 15:46:02 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-12 15:46:02 -0700
commitca3387776037cd00b7bd7114535e3f3365cf3464 (patch)
tree7c7478b35ea6ea5145a1b0265abd6625d92049ac /docs/html/training/basics/intents/sending.jd
parent439c4b4783ec9e800e9a6fd6fc38dd393c41b77b (diff)
parent45edbb701ac44891aa07a403a55ee2393da9b25f (diff)
downloadframeworks_base-ca3387776037cd00b7bd7114535e3f3365cf3464.zip
frameworks_base-ca3387776037cd00b7bd7114535e3f3365cf3464.tar.gz
frameworks_base-ca3387776037cd00b7bd7114535e3f3365cf3464.tar.bz2
am 45edbb70: DOC CHANGE: FileProvider training class
* commit '45edbb701ac44891aa07a403a55ee2393da9b25f': DOC CHANGE: FileProvider training class
Diffstat (limited to 'docs/html/training/basics/intents/sending.jd')
-rw-r--r--docs/html/training/basics/intents/sending.jd4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/training/basics/intents/sending.jd b/docs/html/training/basics/intents/sending.jd
index aba3896..79c017b 100644
--- a/docs/html/training/basics/intents/sending.jd
+++ b/docs/html/training/basics/intents/sending.jd
@@ -22,7 +22,7 @@ next.link=result.html
<h2>You should also read</h2>
<ul>
- <li><a href="{@docRoot}training/sharing/index.html">Sharing Content</a></li>
+ <li><a href="{@docRoot}training/sharing/index.html">Sharing Simple Data</a></li>
</ul>
</div>
@@ -200,7 +200,7 @@ Intent mapIntent = new Intent(Intent.ACTION_VIEW, location);
PackageManager packageManager = {@link android.content.Context#getPackageManager()};
List&lt;ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
boolean isIntentSafe = activities.size() > 0;
-
+
// Start an activity if it's safe
if (isIntentSafe) {
startActivity(mapIntent);