From c1922e23fcad6c75147f2c41f2f9959d02f73fe5 Mon Sep 17 00:00:00 2001 From: ByungWoo Lee Date: Wed, 25 May 2016 11:22:47 +0900 Subject: [PATCH] Add error message of TIZEN_ERROR_DEVICE_POLICY_RESTRICTION Change-Id: Idfdb4df6132f92bd97a6ea251be89cbc0b2d8ad5 --- error_messages/capi-base-common.xml | 4 ++++ include/private/tizen_error_private.h | 1 + packaging/capi-base-common.spec | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/error_messages/capi-base-common.xml b/error_messages/capi-base-common.xml index cfe6129..622870d 100644 --- a/error_messages/capi-base-common.xml +++ b/error_messages/capi-base-common.xml @@ -20,5 +20,9 @@ TIZEN_ERROR_USER_NOT_CONSENTED Not consented + + TIZEN_ERROR_DEVICE_POLICY_RESTRICTION + Restriction by Device Policy + diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h index 30a616b..47afe7b 100644 --- a/include/private/tizen_error_private.h +++ b/include/private/tizen_error_private.h @@ -387,6 +387,7 @@ static err_info err_list[] = { ERR_ENTRY("TIZEN_ERROR_TIMED_OUT", TIZEN_ERROR_TIMED_OUT, "Time out"), ERR_ENTRY("TIZEN_ERROR_NOT_SUPPORTED", TIZEN_ERROR_NOT_SUPPORTED, "Not supported"), ERR_ENTRY("TIZEN_ERROR_USER_NOT_CONSENTED", TIZEN_ERROR_USER_NOT_CONSENTED, "Not consented"), + ERR_ENTRY("TIZEN_ERROR_DEVICE_POLICY_RESTRICTION", TIZEN_ERROR_DEVICE_POLICY_RESTRICTION, "Restriction by Device Policy"), ERR_ENTRY("ACCOUNT_ERROR_DUPLICATED", TIZEN_ERROR_ACCOUNT | 0x01, "Same user name exists in your application"), ERR_ENTRY("ACCOUNT_ERROR_RECORD_NOT_FOUND", TIZEN_ERROR_ACCOUNT | 0x03, "Related record does not exist"), ERR_ENTRY("ACCOUNT_ERROR_DB_FAILED", TIZEN_ERROR_ACCOUNT | 0x04, "DB operation failed"), diff --git a/packaging/capi-base-common.spec b/packaging/capi-base-common.spec index 78b9344..b79e66f 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.5 +Version: 0.4.6 Release: 1 Group: Base License: Apache-2.0 -- 2.34.1