From c13c371b45162889d558cff250202cde30df5bfd Mon Sep 17 00:00:00 2001 From: Sanket Padawe Date: Mon, 2 Jan 2017 23:45:22 -0800 Subject: [PATCH] Minor changes to telephony error codes in types.hal Test: Basic build test. Change-Id: I26227551794729d6643ec63d4a39bc0090240a52 --- radio/1.0/types.hal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/1.0/types.hal b/radio/1.0/types.hal index 8c7f538c..6475b4ff 100644 --- a/radio/1.0/types.hal +++ b/radio/1.0/types.hal @@ -51,7 +51,6 @@ enum RadioCdmaSmsConst : int32_t { }; enum RadioError : int32_t { - INVALID_RESPONSE = -1, // Response from vendor had invalid data NONE = 0, // Success RADIO_NOT_AVAILABLE = 1, // If radio did not start or is resetting GENERIC_FAILURE = 2, @@ -115,7 +114,8 @@ enum RadioError : int32_t { NO_NETWORK_FOUND = 63, // Network cannot be found DEVICE_IN_USE = 64, // Operation cannot be performed because the device // is currently in use - RIL_E_ABORTED = 65, // Operation aborted + ABORTED = 65, // Operation aborted + INVALID_RESPONSE = 66, // Response from vendor had invalid data // TODO(May be moved to vendor HAL extension) // OEM specific error codes. To be used by OEM when they don't want to reveal -- 2.11.0