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

Commit 7d7ed72a 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 am: d7738e25

parents b0b94dc5 d7738e25
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(