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

Commit cbf517f8 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Remove support for audio HAL V2 from the framework

Devices on Android O will not be able to update
directly to Android S.

Bug: 171260360
Test: m, check phone audio
Change-Id: Ib228794a760758f4721ffe33b219b736806c9d82
parent 6f7a1f3e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@ cc_library_shared {
    ],

    required: [
        "libaudiohal@2.0",
        "libaudiohal@4.0",
        "libaudiohal@5.0",
        "libaudiohal@6.0",
+0 −1
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ const char* sAudioHALVersions[] = {
    "6.0",
    "5.0",
    "4.0",
    "2.0",
    nullptr
};

+0 −16
Original line number Diff line number Diff line
@@ -52,22 +52,6 @@ cc_defaults {
    ],
}

cc_library_shared {
    name: "libaudiohal@2.0",
    defaults: ["libaudiohal_default"],
    shared_libs: [
        "android.hardware.audio.common@2.0",
        "android.hardware.audio.common@2.0-util",
        "android.hardware.audio.effect@2.0",
        "android.hardware.audio@2.0",
    ],
    cflags: [
        "-DMAJOR_VERSION=2",
        "-DMINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ]
}

cc_library_shared {
    name: "libaudiohal@4.0",
    defaults: ["libaudiohal_default"],