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:
commit
43d81bfc35
1 changed files with 2 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue