DeactivateDataCall remove network on all errors am: 354140fd8c

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

Change-Id: I2c3e1586c9b4d5dbf5b215d69b51677d443e42cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Sarah Chin
2022-04-06 07:53:17 +00:00
committed by Automerger Merge Worker
2 changed files with 3 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ oneway interface IRadioData {
/**
* Deactivate packet data connection and remove from the data call list. An
* unsolDataCallListChanged() must be sent when data connection is deactivated.
* A return value of RadioError::RADIO_NOT_AVAILABLE will remove the network from the list.
* Any return value other than RadioError::NONE will remove the network from the list.
*
* @param serial Serial number of request.
* @param cid Data call id.

View File

@@ -67,8 +67,8 @@ oneway interface IRadioDataResponse {
*
* Valid errors returned:
* RadioError:REQUEST_NOT_SUPPORTED may be returned when HAL 1.2 or higher is supported.
* RadioError:NONE
* RadioError:RADIO_NOT_AVAILABLE will remove the network from the list.
* RadioError:NONE indicates success. Any other error will remove the network from the list.
* RadioError:RADIO_NOT_AVAILABLE
* RadioError:INVALID_CALL_ID
* RadioError:INVALID_STATE
* RadioError:INVALID_ARGUMENTS