mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:09:42 +00:00
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
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user