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

Commit 16f093cd authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE - audioflinger: test min HAL version instead of current" into lmp-preview-dev

parents 483f59ab d6461906
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ static int load_audio_interface(const char *if_name, audio_hw_device_t **dev)
    if (rc) {
        goto out;
    }
    if ((*dev)->common.version != AUDIO_DEVICE_API_VERSION_CURRENT) {
    if ((*dev)->common.version < AUDIO_DEVICE_API_VERSION_MIN) {
        ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version);
        rc = BAD_VALUE;
        goto out;