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

Commit 7b346190 authored by Tom Pratt's avatar Tom Pratt Committed by Tomasz Wasilczyk
Browse files

Add vintf fragment for default broadcastradio

Bug: b/145694104
Test: Build and boot emulator locally. Observe
that CarRadio app shows static data provided by
default broadcast radio.

Change-Id: Ia70e8a040cb281f3d0e8fc7f3a8dd25bcd6d09bd
parent 059a030d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@ package {

cc_binary {
    name: "android.hardware.broadcastradio@2.0-service",
    vintf_fragments: [
        "android.hardware.broadcastradio@2.0-service.xml",
    ],
    init_rc: ["android.hardware.broadcastradio@2.0-service.rc"],
    vendor: true,
    relative_install_path: "hw",
@@ -41,7 +44,7 @@ cc_binary {
        "TunerSession.cpp",
        "VirtualProgram.cpp",
        "VirtualRadio.cpp",
        "service.cpp"
        "service.cpp",
    ],
    static_libs: [
        "android.hardware.broadcastradio@common-utils-2x-lib",
+12 −0
Original line number Diff line number Diff line
<manifest version="1.0" type="device">
    <hal format="hidl">
        <name>android.hardware.broadcastradio</name>
        <transport>hwbinder</transport>
        <version>2.0</version>
        <interface>
            <name>IBroadcastRadio</name>
            <instance>amfm</instance>
            <instance>dab</instance>
        </interface>
    </hal>
</manifest>