diff options
author | Scott Main <smain@google.com> | 2012-07-03 19:45:24 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-07-03 19:45:24 -0700 |
commit | bcda64bfacdf7470db31ca0951728c4a7116808a (patch) | |
tree | 89d6a69c43326e41569ad2b7b243c6aa5d4421eb | |
parent | ea7dfc434e44b0252a1ccfb331dbe57749e0e4f6 (diff) | |
parent | d5f7d9b59d920dfa88e1753f6723c016b1815d7c (diff) | |
download | frameworks_base-bcda64bfacdf7470db31ca0951728c4a7116808a.zip frameworks_base-bcda64bfacdf7470db31ca0951728c4a7116808a.tar.gz frameworks_base-bcda64bfacdf7470db31ca0951728c4a7116808a.tar.bz2 |
am d5f7d9b5: am 15796e52: Merge "docs: add largeHeap attribute to app manifest doc external issue 33967" into jb-dev
* commit 'd5f7d9b59d920dfa88e1753f6723c016b1815d7c':
docs: add largeHeap attribute to app manifest doc external issue 33967
-rw-r--r-- | docs/html/guide/topics/manifest/application-element.jd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/html/guide/topics/manifest/application-element.jd b/docs/html/guide/topics/manifest/application-element.jd index df6f61a..8a91ec8 100644 --- a/docs/html/guide/topics/manifest/application-element.jd +++ b/docs/html/guide/topics/manifest/application-element.jd @@ -14,6 +14,7 @@ parent.link=manifest-intro.html android:<a href="#hwaccel">hardwareAccelerated</a>=["true" | "false"] android:<a href="#icon">icon</a>="<i>drawable resource</i>" android:<a href="#killrst">killAfterRestore</a>=["true" | "false"] + android:<a href="#largeHeap">largeHeap</a>=["true" | "false"] android:<a href="#label">label</a>="<i>string resource</i>" android:<a href="#logo">logo</a>="<i>drawable resource</i>" android:<a href="#space">manageSpaceActivity</a>="<i>string</i>" @@ -161,6 +162,19 @@ has finished processing its data during a full-system restore, it will be terminated. </p></dd> +<dt><a name="largeHeap"></a>{@code android:largeHeap}</dt> +<dd>Whether your application's processes should be created with a large Dalvik heap. This applies to +all processes created for the application. It only applies to the first application loaded into a +process; if you're using a shared user ID to allow multiple applications to use a process, they all +must use this option consistently or they will have unpredictable results. +<p>Most apps should not need this and should instead focus on reducing their overall memory usage for +improved performance. Enabling this also does not guarantee a fixed increase in available memory, +because some devices are constrained by their total available memory.</p> +<p>To query the available memory size at runtime, use the methods {@link + android.app.ActivityManager#getMemoryClass()} or {@link + android.app.ActivityManager#getLargeMemoryClass()}.</p> +</dd> + <dt><a name="label"></a>{@code android:label}</dt> <dd>A user-readable label for the application as a whole, and a default label for each of the application's components. See the individual |