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

Commit bd42bf39 authored by Sundong Ahn's avatar Sundong Ahn
Browse files

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
parent 743a1c80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"/>
+1 −2
Original line number Diff line number Diff line
@@ -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);
  }