Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db6cdc52 authored by Kevin Rocard's avatar Kevin Rocard Committed by android-build-merger
Browse files

Audio policy config: allow vendor to extend module name am: 7558e8c6 am:...

Audio policy config: allow vendor to extend module name am: 7558e8c6 am: ec55b2f0 am: 540748bc
am: c8ef2e0e

Change-Id: Iaceb3864f283f22e85c5f4332256b43ed709f82f
parents a63de989 c8ef2e0e
Loading
Loading
Loading
Loading
+22 −8
Original line number Original line Diff line number Diff line
@@ -73,6 +73,8 @@
    <!-- Enum values of IDevicesFactory::Device
    <!-- Enum values of IDevicesFactory::Device
         TODO: generate from hidl to avoid manual sync. -->
         TODO: generate from hidl to avoid manual sync. -->
    <xs:simpleType name="halName">
    <xs:simpleType name="halName">
        <xs:union>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                <xs:restriction base="xs:string">
                    <xs:enumeration value="primary"/>
                    <xs:enumeration value="primary"/>
                    <xs:enumeration value="a2dp"/>
                    <xs:enumeration value="a2dp"/>
@@ -82,6 +84,18 @@
                    <xs:enumeration value="stub"/>
                    <xs:enumeration value="stub"/>
                </xs:restriction>
                </xs:restriction>
            </xs:simpleType>
            </xs:simpleType>
            <xs:simpleType>
                <!-- Vendor eXtension names must be in the vx namespace.
                     Vendor are encouraged to namespace their module names.
                     Example for an hypothetical Google virtual reality HAL:
                        <module name="vx_google_vr" halVersion="3.0">
                -->
                <xs:restriction base="xs:string">
                    <xs:pattern value="vx_[_a-zA-Z0-9]+"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:union>
    </xs:simpleType>
    <xs:complexType name="modules">
    <xs:complexType name="modules">
        <xs:annotation>
        <xs:annotation>
            <xs:documentation xml:lang="en">
            <xs:documentation xml:lang="en">