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

Commit 38bff8b0 authored by zhengyu.zhan's avatar zhengyu.zhan Committed by Gabriel Biren
Browse files

Fix VtsHalWifiSupplicantP2pIfaceTargetTest failed issue

supplicant_test_utils::initializeService() only stop Supplicant,
don't start it. refer Android T code, It should start Supplicant
when initializeService().

Bug: 279572212
Test: VtsHalWifiSupplicantP2pIfaceTargetTest pass

Change-Id: I9f4b3e21ee0865eb95d71f7f832b2eb405de9607
parent ea207b64
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -64,9 +64,9 @@ void stopSupplicantService() {

void initializeService() {
    if (SupplicantAidlTestUtils::useAidlService()) {
        SupplicantAidlTestUtils::stopSupplicantService();
        SupplicantAidlTestUtils::initializeService();
    } else {
        SupplicantLegacyTestUtils::stopSupplicantService();
        SupplicantLegacyTestUtils::initializeService();
    }
}