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:
@@ -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"/>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user