summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Ly <robertly@google.com>2014-06-18 18:25:32 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-17 21:43:29 +0000
commit5cfea84264911b93057a667cbcaf90e10740d658 (patch)
tree143ad535bd681d7c02321a961853582398a399f7
parentef655f26fceba274b75e41f0b085434aa12914c8 (diff)
parentfa9ea9fd3c1805cb5778828ca6d93c63ade134b7 (diff)
downloadframeworks_base-5cfea84264911b93057a667cbcaf90e10740d658.zip
frameworks_base-5cfea84264911b93057a667cbcaf90e10740d658.tar.gz
frameworks_base-5cfea84264911b93057a667cbcaf90e10740d658.tar.bz2
Merge "docs: add allowembedded" into klp-modular-dev
-rw-r--r--docs/html/guide/topics/manifest/activity-element.jd14
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/html/guide/topics/manifest/activity-element.jd b/docs/html/guide/topics/manifest/activity-element.jd
index bd1edc2..a8d7615 100644
--- a/docs/html/guide/topics/manifest/activity-element.jd
+++ b/docs/html/guide/topics/manifest/activity-element.jd
@@ -5,7 +5,8 @@ parent.link=manifest-intro.html
<dl class="xml">
<dt>syntax:</dt>
-<dd><pre class="stx">&lt;activity android:<a href="#reparent">allowTaskReparenting</a>=["true" | "false"]
+<dd><pre class="stx">&lt;activity android:<a href="#embedded">allowEmbedded</a>=["true" | "false"]
+ android:<a href="#reparent">allowTaskReparenting</a>=["true" | "false"]
android:<a href="#always">alwaysRetainTaskState</a>=["true" | "false"]
android:<a href="#clear">clearTaskOnLaunch</a>=["true" | "false"]
android:<a href="#config">configChanges</a>=["mcc", "mnc", "locale",
@@ -62,6 +63,17 @@ by the system and will never be run.
<dt>attributes:</dt>
<dd><dl class="attr">
+<dt><a name="embedded"></a>{@code android:allowEmbedded}</dt>
+<dd>
+ Indicate that the activity can be launched as the embedded child of another
+ activity. Particularly in the case where the child lives in a container
+ such as a Display owned by another activity. For example, activities
+ that are used for Wear custom notifications must declare this so
+ Wear can display the activity in it's context stream, which resides
+ in another process.
+
+ <p>The default value of this attribute is <code>false</code>.
+</dd>
<dt><a name="reparent"></a>{@code android:allowTaskReparenting}</dt>
<dd>Whether or not the activity can move from the task that started it to
the task it has an affinity for when that task is next brought to the