Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ecce249 authored by Kevin Hufnagle's avatar Kevin Hufnagle Committed by android-build-merger
Browse files

cherry-pick: docs: Added note that <application> at end of manifest. am:...

cherry-pick: docs: Added note that <application> at end of manifest. am: d5368b81 am: f5250c5b am: b04f86ac am: 810913f9
am: f6aa0d66

* commit 'f6aa0d66':
  cherry-pick: docs: Added note that <application> at end of manifest.

Change-Id: Icf548dbba69697d93c377401351515695cc0dff3
parents a4b22aa1 f6aa0d66
Loading
Loading
Loading
Loading
+189 −177
Original line number Diff line number Diff line
@@ -187,11 +187,23 @@ Elements at the same level are generally not ordered. For example,
<code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code>,
<code><a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a></code>, and
<code><a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a></code>
elements can be intermixed in any sequence.  (An 
<code><a href="{@docRoot}guide/topics/manifest/activity-alias-element.html">&lt;activity-alias&gt;</a></code>
element is the exception to this rule:  It must follow the 
elements can be intermixed in any sequence. There are two key exceptions to this
rule, however:
<ul>
  <li>
    An <code><a href="{@docRoot}guide/topics/manifest/activity-alias-element.html">&lt;activity-alias&gt;</a></code>
    element must follow the
    <code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code>
it is an alias for.)
    it is an alias for.
  </li>
  <li>
    The <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>
    element must be the last element inside the
    <code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code>
    element. In other words, the <code>&lt;/application&gt;</code> closing tag
    must appear immediately before the <code>&lt;/manifest&gt;</code> closing
    tag.
  </li>
</p></dd>

<dt><b>Attributes</b></dt>