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

Commit 540748bc 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: ec55b2f0

Change-Id: Ic7c5de5e7c215c43f2ea044a38bbf52ee71984ca
parents 3ae5466f ec55b2f0
Loading
Loading
Loading
Loading
+22 −8
Original line number Diff line number Diff line
@@ -73,6 +73,8 @@
    <!-- Enum values of IDevicesFactory::Device
         TODO: generate from hidl to avoid manual sync. -->
    <xs:simpleType name="halName">
        <xs:union>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="primary"/>
                    <xs:enumeration value="a2dp"/>
@@ -82,6 +84,18 @@
                    <xs:enumeration value="stub"/>
                </xs:restriction>
            </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:annotation>
            <xs:documentation xml:lang="en">