From 0fecc8ded06e087bfdefa4551e293e1d4e19638d Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Mon, 22 Oct 2018 15:30:07 -0700 Subject: [PATCH] Audio V5 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/5.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 --- .../5.0/config/audio_policy_configuration.xsd | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/audio/5.0/config/audio_policy_configuration.xsd b/audio/5.0/config/audio_policy_configuration.xsd index 311b9c1a83..b0927b25d4 100644 --- a/audio/5.0/config/audio_policy_configuration.xsd +++ b/audio/5.0/config/audio_policy_configuration.xsd @@ -281,6 +281,19 @@ + + + + + + + + + @@ -353,6 +366,9 @@ + + + @@ -395,7 +411,7 @@ - + @@ -432,7 +448,7 @@ - +