summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kevin Hufnagle <khufnagle@google.com> 2016-09-08 21:56:25 -0700
committer Kevin Hufnagle <khufnagle@google.com> 2016-09-08 21:56:25 -0700
commitaedfd75b1b83e2cf12fe8946e867af78f16d57c9 (patch)
tree1ae4ea8651eee339259aa82473fe80bc113d73e0
parent8a7947b0d6c0a519543952ba51466246b86bf965 (diff)
docs: Fixed example of ACTION_VIEW intent
The ACTION_VIEW intent contained a content path that was inconsistent with each of the other examples on the Intent reference page. Added the "people" directory to the content path to remedy this issue. Bug: 26405268 Change-Id: Ieb4f67e072338a108b9775d3bafad3d0773533d2
-rw-r--r--core/java/android/content/Intent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index ace54ba9ef43..2df25d8ce22f 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -128,7 +128,7 @@ import static android.content.ContentProvider.maybeAddUserId;
* a list of people, which the user can browse through. This example is a
* typical top-level entry into the Contacts application, showing you the
* list of people. Selecting a particular person to view would result in a
- * new intent { <b>{@link #ACTION_VIEW} <i>content://contacts/N</i></b> }
+ * new intent { <b>{@link #ACTION_VIEW} <i>content://contacts/people/N</i></b> }
* being used to start an activity to display that person.</p>
* </li>
* </ul>