From 0d5121609ae1fb57dce6382342ba80616c45987c Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Mon, 22 Oct 2018 15:30:07 -0700 Subject: [PATCH] Audio XSD: Allow vendor extension for audio devices Without this patch vendors can not do any vendor extension extending the audio enums as it would fails the XSD validation. Long term, the config xml parsing should be moved in the HAL, until then allow extension if they are prefixed with EX_. Test: xmllint --noout --schema hardware/interfaces/audio/4.0/config/audio_policy_configuration.xsd --xinclude out/target/product/*/vendor/etc/audio_policy_configuration.xml Bug: 117967786 Change-Id: Ie44490824b5b50fdebb50a82299ea348d2a34b84 Signed-off-by: Kevin Rocard --- .../4.0/config/audio_policy_configuration.xsd | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/audio/4.0/config/audio_policy_configuration.xsd b/audio/4.0/config/audio_policy_configuration.xsd index ee17fc983b..58bab227f7 100644 --- a/audio/4.0/config/audio_policy_configuration.xsd +++ b/audio/4.0/config/audio_policy_configuration.xsd @@ -280,6 +280,19 @@ + + + + + + + + + @@ -346,6 +359,9 @@ + + + @@ -388,7 +404,7 @@ - + @@ -425,7 +441,7 @@ - +