From b23ec019ceaaa0f28da2b0f02f59ce20c0e2ee7b Mon Sep 17 00:00:00 2001 From: Francois Gaffie Date: Thu, 18 Nov 2021 11:28:53 +0100 Subject: [PATCH] AudioPolicy Engine: update schema for optional attributes of criterion types The wrapping of mutli bit audio devices on 64 bits requires an adaptation, adding the android value associated to the bitfield allow to translate android value to / from bitfield inclusive criterion type. Test: make Signed-off-by: Francois Gaffie Change-Id: I1bf31c6bf6c57c9b79f0d5751601aa77780f1f80 --- audio/policy/1.0/xml/api/current.txt | 2 ++ audio/policy/1.0/xml/audio_policy_engine_configuration.xsd | 1 + 2 files changed, 3 insertions(+) diff --git a/audio/policy/1.0/xml/api/current.txt b/audio/policy/1.0/xml/api/current.txt index 29a9cd402d..14783810a0 100644 --- a/audio/policy/1.0/xml/api/current.txt +++ b/audio/policy/1.0/xml/api/current.txt @@ -232,8 +232,10 @@ package audio.policy.V1_0 { public class ValueType { ctor public ValueType(); + method public int getAndroid_type(); method public String getLiteral(); method public int getNumerical(); + method public void setAndroid_type(int); method public void setLiteral(String); method public void setNumerical(int); } diff --git a/audio/policy/1.0/xml/audio_policy_engine_configuration.xsd b/audio/policy/1.0/xml/audio_policy_engine_configuration.xsd index 842e7246d6..852ea77dac 100644 --- a/audio/policy/1.0/xml/audio_policy_engine_configuration.xsd +++ b/audio/policy/1.0/xml/audio_policy_engine_configuration.xsd @@ -190,6 +190,7 @@ +