From 09da96099917141f2b90d53f61baa822bdd434d7 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Thu, 2 Sep 2010 18:09:37 -0700 Subject: docs: fix code snippet errors Change-Id: Ie0ef6d4e642b6f9a68bdadd3e507f9fe2dd323d9 --- docs/html/guide/topics/providers/content-providers.jd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/html/guide/topics/providers/content-providers.jd b/docs/html/guide/topics/providers/content-providers.jd index 2aed5e1..2a84c26 100644 --- a/docs/html/guide/topics/providers/content-providers.jd +++ b/docs/html/guide/topics/providers/content-providers.jd @@ -838,8 +838,8 @@ For example if the ContentProvider subclass is AutoInfoProvider, the

-<provider name="com.example.autos.AutoInfoProvider"
-          authorities="com.example.autos.autoinfoprovider" 
+<provider android:name="com.example.autos.AutoInfoProvider"
+          android:authorities="com.example.autos.autoinfoprovider" 
           . . . />
 </provider>
 
@@ -891,8 +891,8 @@ For third-party applications, this should be a fully-qualified class name (reduced to lowercase) to ensure uniqueness. The authority is declared in the {@code <provider>} element's {@code authorities} attribute:

-
<provider name=".TransportationProvider"
-          authorities="com.example.transportationprovider"
+
<provider android:name=".TransportationProvider"
+          android:authorities="com.example.transportationprovider"
           . . .  >
  • The path that the content provider uses to determine what kind of data is -- cgit v1.1