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

Commit d7738e25 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Check and catch the callback transaction error" into tm-dev am: 1fd86d9b

parents 08bbe697 1fd86d9b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -316,7 +316,9 @@ WifiStatus WifiRttController::rangeRequestInternal_1_6(
                    return;
                }
                for (const auto& callback : shared_ptr_this->getEventCallbacks()) {
                    callback->onResults_1_6(id, hidl_results);
                    if (!callback->onResults_1_6(id, hidl_results).isOk()) {
                        LOG(ERROR) << "Failed to invoke the callback";
                    }
                }
            };
    legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->startRttRangeRequest(