audio: Fix audio effects schema for V6

There was a mistake in the XSD file introduced in aosp/1201850.

Bug: 148979886
Test: atest VtsHalAudioEffectV6_0TargetTest
Change-Id: I02f869031e0d4687d6e099fa5d4593d4b5cc8243
This commit is contained in:
Mikhail Naganov
2020-02-05 17:20:09 -08:00
parent 30fc7d4ba3
commit 9f83bb9fb7
2 changed files with 7 additions and 5 deletions

View File

@@ -34,6 +34,10 @@ package audio.effects.V6_0 {
public class DeviceProcessType extends audio.effects.V6_0.StreamProcessingType {
ctor public DeviceProcessType();
method public String getAddress();
method public audio.effects.V6_0.DeviceType getType();
method public void setAddress(String);
method public void setType(audio.effects.V6_0.DeviceType);
}
public enum DeviceType {

View File

@@ -255,10 +255,8 @@
</xs:annotation>
<xs:complexContent>
<xs:extension base="aec:streamProcessingType">
<xs:complexType>
<xs:attribute name="address" type="xs:string" use="required"/>
<xs:attribute name="type" type="aec:deviceType" use="required"/>
</xs:complexType>
<xs:attribute name="address" type="xs:string" use="required"/>
<xs:attribute name="type" type="aec:deviceType" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -322,4 +320,4 @@
<xs:field xpath="@effect"/>
</xs:keyref>
</xs:element>
</xs:schema>
</xs:schema>