Audio policy config: remove cross-module device port name uniqueness am: 503c3e0a4e am: c5ce355c24 am: e8e9cdcf5e

am: a0e6bbe78b

Change-Id: I7291fcf545bea544cafb81c47339de78ae9518db
This commit is contained in:
Kevin Rocard 2017-12-07 05:53:16 +00:00 committed by android-build-merger
commit 27dfaa0941

View file

@ -49,10 +49,6 @@
<xs:selector xpath="modules/module"/> <xs:selector xpath="modules/module"/>
<xs:field xpath="@name"/> <xs:field xpath="@name"/>
</xs:key> </xs:key>
<xs:key name="devicePortNameGlobalKey">
<xs:selector xpath="modules/module/devicePorts/devicePort"/>
<xs:field xpath="@tagName"/>
</xs:key>
<xs:unique name="volumeTargetUniqueness"> <xs:unique name="volumeTargetUniqueness">
<xs:selector xpath="volumes/volume"/> <xs:selector xpath="volumes/volume"/>
<xs:field xpath="@stream"/> <xs:field xpath="@stream"/>
@ -141,9 +137,6 @@
<xs:selector xpath="mixPorts/mixPort"/> <xs:selector xpath="mixPorts/mixPort"/>
<xs:field xpath="@name"/> <xs:field xpath="@name"/>
</xs:unique> </xs:unique>
<!-- Although this key constraint is redundant with devicePortNameGlobalKey,
the set is used to constraint defaultOutputDevice and attachedDevice
to reference a devicePort of the same module. -->
<xs:key name="devicePortNameKey"> <xs:key name="devicePortNameKey">
<xs:selector xpath="devicePorts/devicePort"/> <xs:selector xpath="devicePorts/devicePort"/>
<xs:field xpath="@tagName"/> <xs:field xpath="@tagName"/>