From a249ae8b40b4729f13dc4a55957c26d35d7a1a36 Mon Sep 17 00:00:00 2001 From: Sunggyu Choi Date: Tue, 30 Nov 2021 14:19:46 +0900 Subject: [PATCH] Add new custom error for vce/vc Change-Id: I72cf0bb0a0817b2da4a5b88f99484fdddbdb11b6 Signed-off-by: Sunggyu Choi --- error_messages/voice-control.xml | 2 +- include/private/tizen_error_private.h | 1 + packaging/capi-base-common.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/error_messages/voice-control.xml b/error_messages/voice-control.xml index d1c9e94..efafe6e 100644 --- a/error_messages/voice-control.xml +++ b/error_messages/voice-control.xml @@ -49,7 +49,7 @@ Feature not supported - VC_ERROR_TTS_FAILED | 0x024 + TIZEN_ERROR_VOICE_CONTROL | 0x024 TTS operation failed diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h index 114e156..193f15c 100644 --- a/include/private/tizen_error_private.h +++ b/include/private/tizen_error_private.h @@ -234,6 +234,7 @@ static err_info err_list[] = { 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("VC_ERROR_TTS_FAILED", TIZEN_ERROR_VOICE_CONTROL | 0x024, "TTS operation failed"), ERR_ENTRY("UA_ERROR_NOT_INITIALIZED", TIZEN_ERROR_USER_AWARENESS | 0x01, "Not initialized"), ERR_ENTRY("UA_ERROR_NOT_IN_PROGRESS", TIZEN_ERROR_USER_AWARENESS | 0x02, "Operation Not in progress"), ERR_ENTRY("UA_ERROR_ALREADY_DONE", TIZEN_ERROR_USER_AWARENESS | 0x03, "Operation already done"), diff --git a/packaging/capi-base-common.spec b/packaging/capi-base-common.spec index afe6ea7..ded462b 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.65 +Version: 0.4.66 Release: 1 Group: Base License: Apache-2.0 -- 2.34.1