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

Commit b390795e authored by Gabriel Biren's avatar Gabriel Biren Committed by Android (Google) Code Review
Browse files

Merge "Check whether the iface exists before removing network in teardown." into main

parents 1f905606 090b00cd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -63,7 +63,9 @@ class SupplicantP2pNetworkAidlTest : public testing::TestWithParam<std::string>
    }

    void TearDown() override {
        if (p2p_iface_ != nullptr) {
            EXPECT_TRUE(p2p_iface_->removeNetwork(network_id_).isOk());
        }
        stopSupplicantService();
        startWifiFramework();
    }