Allow INVALID_STATE to be returned for setNrDualConnectivity
Allow INVALID_STATE to be returned for setNrDualConnectivity as modem may disable NR NSA for some carriers Bug: 184571795 Test: build Change-Id: Ie99ac2dd4ee33180d5ae2fa8a74ab90f533d1df4
This commit is contained in:
parent
c9945ab2b4
commit
149f4a3f94
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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}));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue