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

Commit 7c159504 authored by Shunkai Yao's avatar Shunkai Yao Committed by Gerrit Code Review
Browse files

Merge "Change the return code to NAME_NOT_FOUND when UUID not recognized" into main

parents 8817abcf 849c56c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -243,7 +243,7 @@ status_t EffectsFactoryHalAidl::getHalDescriptorWithImplUuid(const AudioUuid& uu
                                [&](const auto& desc) { return desc.common.id.uuid == uuid; });
    if (matchIt == list.end()) {
        ALOGE("%s UUID not found in HAL and proxy list %s", __func__, toString(uuid).c_str());
        return BAD_VALUE;
        return NAME_NOT_FOUND;
    }
    ALOGI("%s UUID impl found %s", __func__, toString(uuid).c_str());