summaryrefslogtreecommitdiff
path: root/docs/html/guide
diff options
context:
space:
mode:
author Mark Lu <marklu@google.com> 2016-09-29 03:01:37 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-29 03:01:37 +0000
commit9bcd53d099f479260dddbe531f204b1b00c9b430 (patch)
treee466acbcf8595de3182638fe21eca0a8be426d71 /docs/html/guide
parenta6f1ac93a44495f88a57b3f98af4b796be66cd74 (diff)
parent656fde18754703d74e1a68595d534dd59fb45749 (diff)
docs: update docs for the multiprocess attribute in provider element
am: 656fde1875 Change-Id: I1f6c6f7967e530243847d104c8f6dd70015bcc98
Diffstat (limited to 'docs/html/guide')
-rw-r--r--docs/html/guide/topics/manifest/provider-element.jd20
1 files changed, 9 insertions, 11 deletions
diff --git a/docs/html/guide/topics/manifest/provider-element.jd b/docs/html/guide/topics/manifest/provider-element.jd
index 1947849e56f8..0e729c36f37e 100644
--- a/docs/html/guide/topics/manifest/provider-element.jd
+++ b/docs/html/guide/topics/manifest/provider-element.jd
@@ -215,17 +215,15 @@ it can also be set as a raw string.
</p></dd>
<dt><a name="multi"></a>{@code android:multiprocess}</dt>
-<dd>Whether or not an instance of the content provider can be created in
-every client process &mdash; "{@code true}" if instances can run in multiple
-processes, and "{@code false}" if not. The default value is "{@code false}".
-
-<p>
-Normally, a content provider is instantiated in the process of the
-application that defined it. However, if this flag is set to "{@code true}",
-the system can create an instance in every process where there's a client
-that wants to interact with it, thus avoiding the overhead of interprocess
-communication.
-</p></dd>
+<dd>If the app runs in multiple processes, this attribute determines whether
+multiple instances of the content provder are created. If <code>true</code>,
+each of the app's processes has its own content provider object. If
+<code>false</code>, the app's processes share only one content provider object.
+The default value is <code>false</code>.
+
+<p>Setting this flag to <code>true</code> may improve performance by reducing
+the overhead of interprocess communication, but it also increases the memory
+footprint of each process.</p></dd>
<dt><a name="nm"></a>{@code android:name}</dt>
<dd>The name of the class that implements the content provider, a subclass of