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

Commit f7069c65 authored by Jordan Liu's avatar Jordan Liu
Browse files

Do not assert CardState::PRESENT on sim power down

Bug: 203031664
Test: manual
Change-Id: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
parent b3fba1d7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -618,7 +618,8 @@ TEST_P(RadioHidlTest_v1_6, setSimCardPower_1_6) {
    if (radioRsp_v1_6->rspInfo.error == ::android::hardware::radio::V1_6::RadioError::NONE) {
        /* Wait some time for setting sim power down and then verify it */
        updateSimCardStatus();
        EXPECT_EQ(CardState::PRESENT, cardStatus.base.base.base.cardState);
        // We cannot assert the consistency of CardState here due to b/203031664
        // EXPECT_EQ(CardState::PRESENT, cardStatus.base.base.base.cardState);
        // applications should be an empty vector of AppStatus
        EXPECT_EQ(0, cardStatus.applications.size());
    }