Add maxOccurs

The maxOccurs is added to permission element, because the maximum number
of thimes this element can occurs is unbounded

Bug: 127435354
Test: m -j && make -j checkapi

Change-Id: I979f8020634c14c2dcb0e785713da74ce19f0245
This commit is contained in:
Sundong Ahn
2019-03-27 15:27:37 +09:00
parent 743a1c8001
commit bd42bf3942
2 changed files with 2 additions and 3 deletions

View File

@@ -27,7 +27,7 @@
</xs:element>
<xs:complexType name="exception">
<xs:sequence>
<xs:element name="permission" type="permission"/>
<xs:element name="permission" type="permission" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="package" type="xs:string"/>
<xs:attribute name="sha256-cert-digest" type="xs:string"/>

View File

@@ -4,11 +4,10 @@ package com.android.server.pm.permission {
public class Exception {
ctor public Exception();
method public String getBrand();
method public com.android.server.pm.permission.Permission getPermission();
method public java.util.List<com.android.server.pm.permission.Permission> getPermission();
method public String getSha256CertDigest();
method public String get_package();
method public void setBrand(String);
method public void setPermission(com.android.server.pm.permission.Permission);
method public void setSha256CertDigest(String);
method public void set_package(String);
}