Merge "Allow INVALID_STATE to be returned for setNrDualConnectivity"

This commit is contained in:
Treehugger Robot 2021-04-15 01:23:46 +00:00 committed by Gerrit Code Review
commit be01266c63
2 changed files with 2 additions and 0 deletions

View file

@ -232,6 +232,7 @@ interface IRadioResponse extends @1.5::IRadioResponse {
* RadioError:RADIO_NOT_AVAILABLE
* RadioError:INTERNAL_ERR
* RadioError:REQUEST_NOT_SUPPORTED
* RadioError:INVALID_STATE
*/
oneway setNrDualConnectivityStateResponse(RadioResponseInfo info);

View file

@ -378,6 +378,7 @@ TEST_P(RadioHidlTest_v1_6, setNrDualConnectivityState) {
CheckAnyOfErrors(radioRsp_v1_6->rspInfo.error,
{::android::hardware::radio::V1_6::RadioError::RADIO_NOT_AVAILABLE,
::android::hardware::radio::V1_6::RadioError::INTERNAL_ERR,
::android::hardware::radio::V1_6::RadioError::INVALID_STATE,
::android::hardware::radio::V1_6::RadioError::NONE}));
}
}