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

Commit 6e88c84c authored by Scott Main's avatar Scott Main
Browse files

docs: remove allowClearUserData from <application> manifest doc

and clarify in javadocs that it's only for system apps
bug: 3128020

Change-Id: Ibc01f0e24f7d1f4e76a4da0a324c7682b92992aa
parent 265acc50
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -90,10 +90,9 @@
    <attr name="manageSpaceActivity" format="string" />

    <!-- Option to let applications specify that user data can/cannot be 
         cleared. Some applications might not want to clear user data. Such
         applications can explicitly set this value to false. This flag is
         turned on by default unless explicitly set to false 
         by applications. -->
         cleared. This flag is turned on by default.
         <em>This attribute is usable only by applications
         included in the system image. Third-party apps cannot use it.</em> -->
    <attr name="allowClearUserData" format="boolean" />

    <!-- Option to let applications specify that user data should
+1 −8
Original line number Diff line number Diff line
@@ -3,8 +3,7 @@ page.title=&lt;application&gt;

<dl class="xml">
<dt>syntax:</dt>
<dd><pre class="stx">&lt;application android:<a href="#clear">allowClearUserData</a>=["true" | "false"]
             android:<a href="#reparent">allowTaskReparenting</a>=["true" | "false"]
<dd><pre class="stx">&lt;application android:<a href="#reparent">allowTaskReparenting</a>=["true" | "false"]
             android:<a href="#agent">backupAgent</a>="<i>string</i>"
             android:<a href="#debug">debuggable</a>=["true" | "false"]
             android:<a href="#desc">description</a>="<i>string resource</i>"
@@ -49,12 +48,6 @@ cannot be overridden by the components.</dd>
<dt>attributes</dt>
<dd><dl class="attr">

<dt><a name="clear"></a>{@code android:allowClearUserData}</dt>
<dd>Whether or not users are given the option to remove user data &mdash; 
"{@code true}" if they are, and "{@code false}" if not.  If the value is 
"{@code true}", as it is by default, the application manager includes an 
option that allows users to clear the data.</dd>

<dt><a name="reparent"></a>{@code android:allowTaskReparenting}</dt>
<dd>Whether or not activities that the application defines can move from 
the task that started them to the task they have an affinity for when that task