Do not assert CardState::PRESENT on sim power down

Bug: 203031664
Test: manual
Change-Id: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
Merged-In: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
This commit is contained in:
Jordan Liu
2021-10-20 11:34:23 -07:00
committed by Jayachandran Chinnakkannu
parent 32250df35e
commit 13d864a421

View File

@@ -606,7 +606,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());
}