From 560de69213d31454df2337d807aa70775457930c Mon Sep 17 00:00:00 2001 From: Sundong Ahn Date: Wed, 27 Mar 2019 15:02:28 +0900 Subject: [PATCH] Change to choice The sequence element is changed to choice element with minOccurs="0" and maxOccurs="unbounded" for supporting any order and any times sub element. And maxOccurs of subelement is deleted because maxOccurs are not needed. Bug: 127435354 Test: m -j Change-Id: I72866da5b2a8ac37d725f5b604dae37a06f30162 --- core/xsd/permission.xsd | 54 ++++++++++++++++++------------------- core/xsd/schema/current.txt | 50 +++++++++++++++++----------------- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/core/xsd/permission.xsd b/core/xsd/permission.xsd index 2ef2d04d3b345..9520db7673506 100644 --- a/core/xsd/permission.xsd +++ b/core/xsd/permission.xsd @@ -20,33 +20,33 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema"> - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/xsd/schema/current.txt b/core/xsd/schema/current.txt index c25bc146045b3..771c1dffb9097 100644 --- a/core/xsd/schema/current.txt +++ b/core/xsd/schema/current.txt @@ -153,31 +153,31 @@ package com.android.xml.permission.configfile { public class Permissions { ctor public Permissions(); - method public java.util.List getAllowAssociation(); - method public java.util.List getAllowIgnoreLocationSettings(); - method public java.util.List getAllowImplicitBroadcast(); - method public java.util.List getAllowInDataUsageSave(); - method public java.util.List getAllowInPowerSave(); - method public java.util.List getAllowInPowerSaveExceptIdle(); - method public java.util.List getAllowUnthrottledLocation(); - method public java.util.List getAppLink(); - method public java.util.List getAssignPermission(); - method public java.util.List getBackupTransportWhitelistedService(); - method public java.util.List getBugreportWhitelisted(); - method public java.util.List getDefaultEnabledVrApp(); - method public java.util.List getDisabledUntilUsedPreinstalledCarrierApp(); - method public java.util.List getDisabledUntilUsedPreinstalledCarrierAssociatedApp(); - method public java.util.List getFeature(); - method public java.util.List getGroup(); - method public java.util.List getHiddenApiWhitelistedApp(); - method public java.util.List getLibrary(); - method public java.util.List getOemPermissions(); - method public java.util.List getPermission(); - method public java.util.List getPrivappPermissions(); - method public java.util.List getSplitPermission(); - method public java.util.List getSystemUserBlacklistedApp(); - method public java.util.List getSystemUserWhitelistedApp(); - method public java.util.List getUnavailableFeature(); + method public java.util.List getAllowAssociation_optional(); + method public java.util.List getAllowIgnoreLocationSettings_optional(); + method public java.util.List getAllowImplicitBroadcast_optional(); + method public java.util.List getAllowInDataUsageSave_optional(); + method public java.util.List getAllowInPowerSaveExceptIdle_optional(); + method public java.util.List getAllowInPowerSave_optional(); + method public java.util.List getAllowUnthrottledLocation_optional(); + method public java.util.List getAppLink_optional(); + method public java.util.List getAssignPermission_optional(); + method public java.util.List getBackupTransportWhitelistedService_optional(); + method public java.util.List getBugreportWhitelisted_optional(); + method public java.util.List getDefaultEnabledVrApp_optional(); + method public java.util.List getDisabledUntilUsedPreinstalledCarrierApp_optional(); + method public java.util.List getDisabledUntilUsedPreinstalledCarrierAssociatedApp_optional(); + method public java.util.List getFeature_optional(); + method public java.util.List getGroup_optional(); + method public java.util.List getHiddenApiWhitelistedApp_optional(); + method public java.util.List getLibrary_optional(); + method public java.util.List getOemPermissions_optional(); + method public java.util.List getPermission_optional(); + method public java.util.List getPrivappPermissions_optional(); + method public java.util.List getSplitPermission_optional(); + method public java.util.List getSystemUserBlacklistedApp_optional(); + method public java.util.List getSystemUserWhitelistedApp_optional(); + method public java.util.List getUnavailableFeature_optional(); } public class PrivappPermissions {