Merge "Do not assert CardState::PRESENT on sim power down" am: b311ffdb2a

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

Change-Id: I66a4c7ce6d1a496ab897f66f98a748a5cf920e2b
This commit is contained in:
Jayachandran Chinnakkannu 2021-10-28 01:19:09 +00:00 committed by Automerger Merge Worker
commit 43d81bfc35

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());
}