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

Commit 51748c97 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Enable AIDL HAL support in the framework

Add AIDL to the list of supported HAL interfaces.

Bug: 264712385
Test: atest CtsMediaAudioTestCases
(cherry picked from commit 4ccf1583)
Change-Id: I00d0eb82984559cebe51a09bac5df07d53b01193
parent 41e6cc17
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -75,11 +75,10 @@ public final class AudioHalVersionInfo implements Parcelable, Comparable<AudioHa

    /**
     * List of all valid Audio HAL versions. This list need to be in sync with sAudioHALVersions
     * defined in frameworks/av/media/libaudiohal/FactoryHalHidl.cpp.
     * defined in frameworks/av/media/libaudiohal/FactoryHal.cpp.
     */
    // TODO: add AIDL_1_0 with sAudioHALVersions.
    public static final @NonNull List<AudioHalVersionInfo> VERSIONS =
            List.of(HIDL_7_1, HIDL_7_0, HIDL_6_0, HIDL_5_0, HIDL_4_0);
            List.of(AIDL_1_0, HIDL_7_1, HIDL_7_0, HIDL_6_0, HIDL_5_0, HIDL_4_0);

    private static final String TAG = "AudioHalVersionInfo";
    private AudioHalVersion mHalVersion = new AudioHalVersion();