From 1fe076b44d8fa7645e3559152f90a5da1605bda2 Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Wed, 4 Apr 2018 09:08:05 -0700 Subject: [PATCH] Audio V4: Synchronize the devices between the policy XSD and .hal - The ALL devices should not appear in the XSD as they are helpers for enum value validity checks. - Add the V4 values HEARING AIDS, ECHO_CANCELLER, BLUETOOTH_BLE. - Sort the values in the same order as the enum values in audio-base.h for easier comparison. Bug: 77307068 Test: xmllint -xinclude --schema \ hardware/interfaces/audio/4.0/config/audio_policy_configuration.xsd \ out/target/product/walleye/vendor/etc/audio_policy_configuration.xml Signed-off-by: Kevin Rocard Change-Id: I8b970d21eb0b3f256d6866be9ef935d12283076e --- audio/4.0/config/audio_policy_configuration.xsd | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/audio/4.0/config/audio_policy_configuration.xsd b/audio/4.0/config/audio_policy_configuration.xsd index 34c2b1115b..14e4fd6192 100644 --- a/audio/4.0/config/audio_policy_configuration.xsd +++ b/audio/4.0/config/audio_policy_configuration.xsd @@ -218,24 +218,20 @@ - - - - @@ -243,10 +239,13 @@ + + + @@ -255,19 +254,17 @@ - - + - @@ -278,6 +275,7 @@ +