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:
@@ -128,7 +128,7 @@ import static android.content.ContentProvider.maybeAddUserId;
|
|||||||
* a list of people, which the user can browse through. This example is a
|
* 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
|
* typical top-level entry into the Contacts application, showing you the
|
||||||
* list of people. Selecting a particular person to view would result in a
|
* 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>
|
* being used to start an activity to display that person.</p>
|
||||||
* </li>
|
* </li>
|
||||||
* </ul>
|
* </ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user