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

Commit a1e71116 authored by Amy Zhang's avatar Amy Zhang
Browse files

Correct the TunerFilter local variable naming typo

Test: make
Bug: 185542142
Change-Id: I77061f80547b1096c5e715dd1092c5600be3d2ab
parent c57a6c62
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();
}