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

Commit f5250c5b 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: d5368b81

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

Change-Id: Ie8343e36136e7f3829bf92d7ac26488faf01b489
parents 2cbac3c1 d5368b81
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>