diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/guide/topics/providers/content-providers.jd | 8 |
1 files 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 </p> <pre> -<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> </pre> @@ -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:</p> -<pre><provider name=".TransportationProvider" - authorities="com.example.transportationprovider" +<pre><provider android:name=".TransportationProvider" + android:authorities="com.example.transportationprovider" . . . ></pre></li> <li><p>The path that the content provider uses to determine what kind of data is |