From aedfd75b1b83e2cf12fe8946e867af78f16d57c9 Mon Sep 17 00:00:00 2001 From: Kevin Hufnagle Date: Thu, 8 Sep 2016 21:56:25 -0700 Subject: [PATCH] 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 --- core/java/android/content/Intent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index ace54ba9ef430..2df25d8ce22fb 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 { {@link #ACTION_VIEW} content://contacts/N } + * new intent { {@link #ACTION_VIEW} content://contacts/people/N } * being used to start an activity to display that person.

* *