summaryrefslogtreecommitdiffstats
path: root/docs/html/training/basics
diff options
context:
space:
mode:
authorJoe Fernandez <joefernandez@google.com>2015-01-31 04:01:11 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-01-31 04:01:11 +0000
commitf4b2bd4c41233327f0fb2e4d45af8dc9c8eba689 (patch)
tree18c980c513c4b4cf2dca6f3a10baee1e3704a1f4 /docs/html/training/basics
parentc05343828611ed0b82fae4edf7fe11e0e9087db1 (diff)
parent346a9a2f364f7cdabf06944014594b299d384082 (diff)
downloadframeworks_base-f4b2bd4c41233327f0fb2e4d45af8dc9c8eba689.zip
frameworks_base-f4b2bd4c41233327f0fb2e4d45af8dc9c8eba689.tar.gz
frameworks_base-f4b2bd4c41233327f0fb2e4d45af8dc9c8eba689.tar.bz2
am 1a9bf5c1: Merge "docs: training intent doc error update" into lmp-docs automerge: f02a8d9 automerge: cacf7da
automerge: 346a9a2 * commit '346a9a2f364f7cdabf06944014594b299d384082': docs: training intent doc error update
Diffstat (limited to 'docs/html/training/basics')
-rw-r--r--docs/html/training/basics/intents/sending.jd3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/html/training/basics/intents/sending.jd b/docs/html/training/basics/intents/sending.jd
index 4698ba1..b9463e4 100644
--- a/docs/html/training/basics/intents/sending.jd
+++ b/docs/html/training/basics/intents/sending.jd
@@ -153,7 +153,8 @@ java.util.List} is not empty, you can safely use the intent. For example:</p>
<pre>
PackageManager packageManager = {@link android.content.Context#getPackageManager()};
-List&lt;ResolveInfo> activities = packageManager.queryIntentActivities(intent, 0);
+List<ResolveInfo> activities = packageManager.queryIntentActivities(intent,
+ PackageManager.MATCH_DEFAULT_ONLY);
boolean isIntentSafe = activities.size() > 0;
</pre>