diff options
author | Mikhail Naganov <mnaganov@google.com> | 2019-03-06 12:28:15 -0800 |
---|---|---|
committer | Mikhail Naganov <mnaganov@google.com> | 2019-03-06 12:28:15 -0800 |
commit | 0637e1339b93592ca9f01119e01d37192e960254 (patch) | |
tree | ebb11b9c476a67e9b9d24c041803f61d0ba80264 /audio | |
parent | c5524a6154301321d3507f55d6f2130b8444b442 (diff) | |
download | android_hardware_interfaces-0637e1339b93592ca9f01119e01d37192e960254.tar.gz android_hardware_interfaces-0637e1339b93592ca9f01119e01d37192e960254.tar.bz2 android_hardware_interfaces-0637e1339b93592ca9f01119e01d37192e960254.zip |
audio: Make 'surroundSound' element optional
This element makes sense only for TV platforms. The deserializer
treats it as optional. Update the schema to match this.
Bug: 116356348
Test: xmllint --noout --xinclude --schema \
hardware/interfaces/audio/5.0/config/audio_policy_configuration.xsd \
frameworks/av/services/audiopolicy/config/audio_policy_configuration.xml
Change-Id: I822c3ff10a6becc859d3d44fd58ef2ebcd3d40b1
Diffstat (limited to 'audio')
-rw-r--r-- | audio/5.0/config/audio_policy_configuration.xsd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/5.0/config/audio_policy_configuration.xsd b/audio/5.0/config/audio_policy_configuration.xsd index ee3a437d1..c580b25dc 100644 --- a/audio/5.0/config/audio_policy_configuration.xsd +++ b/audio/5.0/config/audio_policy_configuration.xsd @@ -42,7 +42,7 @@ <xs:element name="globalConfiguration" type="globalConfiguration"/> <xs:element name="modules" type="modules" maxOccurs="unbounded"/> <xs:element name="volumes" type="volumes" maxOccurs="unbounded"/> - <xs:element name="surroundSound" type="surroundSound" /> + <xs:element name="surroundSound" type="surroundSound" minOccurs="0" /> </xs:sequence> <xs:attribute name="version" type="version"/> </xs:complexType> |