Add boot-sequence to manifest.xsd 62/267162/8
authorSukhyungKang <shine.kang@samsung.com>
Fri, 26 Nov 2021 11:44:30 +0000 (20:44 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 6 Jan 2022 04:28:40 +0000 (13:28 +0900)
The UI & Service application can define boot-sequence to the tizen-manifest.xml.
The developer can adjust dependencies of on-boot apps using boot-sequence.
The application manager starts on-boot apps using boot-sequence.
This feature is only available for inhouse developer.

Change-Id: I626c2ec893225dcf0b16eb16b8d2f38e9e12890c
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
parser/manifest.xsd.in
parser/manifest.xsd.ref

index 0719089..37ca529 100644 (file)
         <xs:element ref="packages:datacontrol"/>
         <xs:element ref="packages:background-category"/>
         <xs:element ref="packages:res-control"/>
+        <xs:element ref="packages:boot-sequence"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
       </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
         <xs:element ref="packages:background-category"/>
         <xs:element ref="packages:splash-screens"/>
         <xs:element ref="packages:res-control"/>
+        <xs:element ref="packages:boot-sequence"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
       </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:anyAttribute namespace="##any" processContents="lax"/>
     </xs:complexType>
   </xs:element>
+  <xs:element name="boot-sequence">
+    <xs:complexType>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element name="dependency">
+          <xs:complexType mixed="true">
+            <xs:attribute name="requires" type="xs:string"/>
+            <xs:attribute name="after" type="xs:string"/>
+            <xs:attribute name="before" type="xs:string"/>
+            <xs:attribute name="wants" type="xs:string"/>
+            <xs:attribute name="vconf" type="xs:string"/>
+            <xs:attribute name="path-exists" type="xs:string"/>
+            <xs:anyAttribute namespace="##any" processContents="lax"/>
+          </xs:complexType>
+        </xs:element>
+        <xs:element name="option">
+          <xs:complexType mixed="true">
+            <xs:attribute name="args" type="xs:string"/>
+            <xs:attribute name="background-launch" type="xs:string"/>
+            <xs:anyAttribute namespace="##any" processContents="lax"/>
+          </xs:complexType>
+        </xs:element>
+      </xs:choice>
+    </xs:complexType>
+  </xs:element>
 </xs:schema>
index 7a565f1..6a86272 100644 (file)
         <xs:element ref="packages:datacontrol"/>
         <xs:element ref="packages:background-category"/>
         <xs:element ref="packages:res-control"/>
+        <xs:element ref="packages:boot-sequence"/>
       </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="auto-restart" type="xs:boolean"/>
         <xs:element ref="packages:background-category"/>
         <xs:element ref="packages:splash-screens"/>
         <xs:element ref="packages:res-control"/>
+        <xs:element ref="packages:boot-sequence"/>
       </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:anyAttribute namespace="##any" processContents="lax"/>
     </xs:complexType>
   </xs:element>
+  <xs:element name="boot-sequence">
+    <xs:complexType>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element name="dependency">
+          <xs:complexType mixed="true">
+            <xs:attribute name="requires" type="xs:string"/>
+            <xs:attribute name="after" type="xs:string"/>
+            <xs:attribute name="before" type="xs:string"/>
+            <xs:attribute name="wants" type="xs:string"/>
+            <xs:attribute name="vconf" type="xs:string"/>
+            <xs:attribute name="path-exists" type="xs:string"/>
+            <xs:anyAttribute namespace="##any" processContents="lax"/>
+          </xs:complexType>
+        </xs:element>
+        <xs:element name="option">
+          <xs:complexType mixed="true">
+            <xs:attribute name="args" type="xs:string"/>
+            <xs:attribute name="background-launch" type="xs:string"/>
+            <xs:anyAttribute namespace="##any" processContents="lax"/>
+          </xs:complexType>
+        </xs:element>
+      </xs:choice>
+    </xs:complexType>
+  </xs:element>
 </xs:schema>