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
This commit is contained in:
Kevin Hufnagle
2016-09-08 21:56:25 -07:00
parent 8a7947b0d6
commit aedfd75b1b

View File

@@ -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>