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

Commit 17879bb4 authored by Amy Zhang's avatar Amy Zhang Committed by Android (Google) Code Review
Browse files

Merge "Correct the TunerFilter local variable naming typo" into sc-dev

parents ff81743e a1e71116
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -57,10 +57,10 @@ Status TunerFilter::getQueueDesc(AidlMQDesc* _aidl_return) {
        return Status::fromServiceSpecificError(static_cast<int32_t>(Result::UNAVAILABLE));
    }

    MQDesc dvrMQDesc;
    MQDesc filterMQDesc;
    Result res;
    mFilter->getQueueDesc([&](Result r, const MQDesc& desc) {
        dvrMQDesc = desc;
        filterMQDesc = desc;
        res = r;
    });
    if (res != Result::SUCCESS) {
@@ -69,7 +69,7 @@ Status TunerFilter::getQueueDesc(AidlMQDesc* _aidl_return) {

    AidlMQDesc aidlMQDesc;
    unsafeHidlToAidlMQDescriptor<uint8_t, int8_t, SynchronizedReadWrite>(
                dvrMQDesc,  &aidlMQDesc);
                filterMQDesc,  &aidlMQDesc);
    *_aidl_return = move(aidlMQDesc);
    return Status::ok();
}