From e427c1241ba52f646616f12f7bd9fcb3d4730e64 Mon Sep 17 00:00:00 2001 From: Sunggyu Choi Date: Thu, 22 Mar 2018 17:02:40 +0900 Subject: [PATCH] Add new custom error for voice control Change-Id: Iafd1030d62955f938b11925a81485083db5c2e4c Signed-off-by: Sunggyu Choi --- error_messages/voice-control-elm.xml | 2 +- error_messages/voice-control.xml | 2 +- include/private/tizen_error_private.h | 3 ++- packaging/capi-base-common.spec | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/error_messages/voice-control-elm.xml b/error_messages/voice-control-elm.xml index c1348e0..1741d90 100644 --- a/error_messages/voice-control-elm.xml +++ b/error_messages/voice-control-elm.xml @@ -4,7 +4,7 @@ TIZEN_ERROR_VOICE_CONTROL | 0x021 Invalid state - + TIZEN_ERROR_VOICE_CONTROL | 0x022 Invalid language diff --git a/error_messages/voice-control.xml b/error_messages/voice-control.xml index dd9b9f4..0f57b06 100644 --- a/error_messages/voice-control.xml +++ b/error_messages/voice-control.xml @@ -47,5 +47,5 @@ TIZEN_ERROR_VOICE_CONTROL | 0x022 Feature not supported - diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h index 6ec2efb..0cad406 100644 --- a/include/private/tizen_error_private.h +++ b/include/private/tizen_error_private.h @@ -33,7 +33,7 @@ typedef struct tizen_err_info { static err_info err_list[] = { ERR_ENTRY("VC_ELM_ERROR_INVALID_STATE", TIZEN_ERROR_VOICE_CONTROL | 0x021, "Invalid state"), - ERR_ENTRY("VC_ELM_ERROR_INVALID_LANGUAG", TIZEN_ERROR_VOICE_CONTROL | 0x022, "Invalid language"), + ERR_ENTRY("VC_ELM_ERROR_INVALID_LANGUAGE", TIZEN_ERROR_VOICE_CONTROL | 0x022, "Invalid language"), ERR_ENTRY("VC_ELM_ERROR_OPERATION_FAILED", TIZEN_ERROR_VOICE_CONTROL | 0x023, "Operation failed"), ERR_ENTRY("VC_ELM_ERROR_OPERATION_REJECTED", TIZEN_ERROR_VOICE_CONTROL | 0x024, "Operation rejected"), ERR_ENTRY("STC_ERROR_OPERATION_FAILED", TIZEN_ERROR_STC | 0x01, "Operation failed"), @@ -209,6 +209,7 @@ static err_info err_list[] = { ERR_ENTRY("VC_ERROR_IN_PROGRESS_TO_READY", TIZEN_ERROR_VOICE_CONTROL | 0x019, "In progress to ready"), ERR_ENTRY("VC_ERROR_IN_PROGRESS_TO_RECORDING", TIZEN_ERROR_VOICE_CONTROL | 0x020, "In progress to recording"), ERR_ENTRY("VC_ERROR_IN_PROGRESS_TO_PROCESSING", TIZEN_ERROR_VOICE_CONTROL | 0x021, "In progress to processing"), + ERR_ENTRY("VC_ERROR_NOT_SUPPORTED_FEATURE", TIZEN_ERROR_VOICE_CONTROL | 0x022, "Feature not supported"), ERR_ENTRY("MAPS_ERROR_SERVICE_NOT_AVAILABLE", TIZEN_ERROR_MAPS_SERVICE | 0x01, "Service unavailable"), ERR_ENTRY("MAPS_ERROR_NOT_FOUND", TIZEN_ERROR_MAPS_SERVICE | 0x02, "Result not found"), ERR_ENTRY("AUDIO_IO_ERROR_DEVICE_NOT_OPENED", TIZEN_ERROR_AUDIO_IO | 0x01, "Device open error"), diff --git a/packaging/capi-base-common.spec b/packaging/capi-base-common.spec index 829e4b1..bb5fd91 100644 --- a/packaging/capi-base-common.spec +++ b/packaging/capi-base-common.spec @@ -1,6 +1,6 @@ Name: capi-base-common Summary: Common header files of Tizen Native API -Version: 0.4.22 +Version: 0.4.23 Release: 1 Group: Base License: Apache-2.0 -- 2.7.4