Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a0e01d4 authored by Joe Fernandez's avatar Joe Fernandez Committed by android-build-merger
Browse files

am 1a9bf5c1: Merge "docs: training intent doc error update" into lmp-docs...

am 1a9bf5c1: Merge "docs: training intent doc error update" into lmp-docs automerge: f02a8d9f automerge: cacf7da1 automerge: 346a9a2f automerge: f4b2bd4c
automerge: 14437e47

* commit '14437e47':
  docs: training intent doc error update
parents b4506586 14437e47
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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>