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

Commit 9a0dab8f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Allow REQUEST_NOT_SUPPORTED for HAL interface updateSimPhonebookRecords" into sc-dev

parents 7a0ef626 c0490422
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -865,7 +865,11 @@ TEST_P(RadioHidlTest_v1_6, updateSimPhonebookRecords) {
        EXPECT_EQ(std::cv_status::no_timeout, wait());
        EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_6->rspInfo.type);
        EXPECT_EQ(serial, radioRsp_v1_6->rspInfo.serial);
        EXPECT_EQ(::android::hardware::radio::V1_6::RadioError::NONE, radioRsp_v1_6->rspInfo.error);
        ASSERT_TRUE(CheckAnyOfErrors(
            radioRsp_v1_6->rspInfo.error,
            {::android::hardware::radio::V1_6::RadioError::NONE,
             ::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED},
             CHECK_GENERAL_ERROR));

        if(pbCapacity.maxAdnRecords > 0
                && pbCapacity.usedAdnRecords < pbCapacity.maxAdnRecords) {