From 612ebb9257e2adf982ed846fa43251c3754361f7 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Fri, 15 Oct 2010 10:05:29 -0700 Subject: Revert "Update the documentation for content provider security." This reverts commit 4fe4d4c91cdfa59bb8161625be85252e187667a2. --- docs/html/guide/topics/manifest/provider-element.jd | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'docs') diff --git a/docs/html/guide/topics/manifest/provider-element.jd b/docs/html/guide/topics/manifest/provider-element.jd index bee87e6..c80b207 100644 --- a/docs/html/guide/topics/manifest/provider-element.jd +++ b/docs/html/guide/topics/manifest/provider-element.jd @@ -96,19 +96,10 @@ If "{@code false}", the provider is available only to components of the same application or applications with the same user ID. The default value is "{@code true}". -

You can export a content provider but still limit access to it with the -permission -attribute. Note that due to a bug in versions of Android prior to {@link -android.os.Build.VERSION_CODES#VERSION_GINGERBREAD} providers were exported -even if {@code android:exported} were set to {@code false}. Therefore, for -provider security on all devices, protect your provider with a -signature-level permission. For information on defining a permission, see -the permission -element. For information on using the permission, see the uses-permission -element.

+

+You can export a content provider but still limit access to it with the +permission attribute. +

{@code android:grantUriPermissions}
Whether or not those who ordinarily would not have permission to -- cgit v1.1