summaryrefslogtreecommitdiff
path: root/docs/html
diff options
context:
space:
mode:
author Nick Kralevich <nnk@google.com> 2012-07-28 12:43:48 -0700
committer Nick Kralevich <nnk@google.com> 2012-08-07 11:34:00 -0700
commitf097b16cfddce2dbb097b929458fe9b0a402963e (patch)
treec49ca2a2c9475e5d0f1980960df5efe1d3cdd237 /docs/html
parent6624afe37b3be7c469a3613298a2246663a2d409 (diff)
Content Providers: change default for android:exported
Change the default value of android:exported to true for applications which target a newer API version. This will help stop inadvertent content provider exposure to untrusted apps. Bug: 3306452 Change-Id: I8cb34e823aef9551319951ce92217345c54cee63
Diffstat (limited to 'docs/html')
-rw-r--r--docs/html/guide/topics/manifest/provider-element.jd3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/html/guide/topics/manifest/provider-element.jd b/docs/html/guide/topics/manifest/provider-element.jd
index 455880035a9c..7b4ca8fc21c0 100644
--- a/docs/html/guide/topics/manifest/provider-element.jd
+++ b/docs/html/guide/topics/manifest/provider-element.jd
@@ -97,7 +97,8 @@ are by default) for the content provider to be enabled. If either is
applications &mdash; "{@code true}" if it can be, and "{@code false}" if not.
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}".
+is "{@code true}" for applications which target API level 16 (Jelly Bean)
+and below, and "{@code false}" otherwise.
<p>
You can export a content provider but still limit access to it with the