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

Commit c8ef2e0e 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

am: 540748bc

Change-Id: I7f0627e930fc7a8fe13ac13f708d0972c5747b23
parents 6ab53053 540748bc
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">