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

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

Merge "WIFI: Add log to debug onSubsystemRestart" into sc-qpr1-dev am: 8169c932

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15988967

Change-Id: I8798d3ad725e8fe294ce835a3a185351117f701c
parents 6621c1ad 8169c932
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -131,8 +131,14 @@ WifiStatus Wifi::startInternal() {
                WifiStatus wifi_status =
                    createWifiStatus(WifiStatusCode::ERROR_UNKNOWN, error);
                for (const auto& callback : event_cb_handler_.getCallbacks()) {
                    LOG(INFO) << "Attempting to invoke onSubsystemRestart "
                                 "callback";
                    if (!callback->onSubsystemRestart(wifi_status).isOk()) {
                        LOG(ERROR) << "Failed to invoke onFailure callback";
                        LOG(ERROR)
                            << "Failed to invoke onSubsystemRestart callback";
                    } else {
                        LOG(INFO) << "Succeeded to invoke onSubsystemRestart "
                                     "callback";
                    }
                }
            };