From b2ede1180e5b0cf8bcb8f4ed0b153c5f4cf6c869 Mon Sep 17 00:00:00 2001 From: "intae, jeon" Date: Wed, 31 Aug 2016 10:51:39 +0900 Subject: [PATCH] fix dpm return code and dpm mode on Change-Id: Ic2046eb25dbde99286707c7f83801b7ce17ab6d3 Signed-off-by: intae, jeon --- email-common-use/include/email-errors.h | 2 +- email-common-use/include/email-internal-types.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/email-common-use/include/email-errors.h b/email-common-use/include/email-errors.h index 764ef54..b3c2e88 100755 --- a/email-common-use/include/email-errors.h +++ b/email-common-use/include/email-errors.h @@ -188,7 +188,7 @@ #define EMAIL_ERROR_MDM_SERVICE_FAILURE -7100 /**< The MDM service did not work */ #define EMAIL_ERROR_MDM_RESTRICTED_MODE -7101 /**< The MDM service is in restricted mode */ #define EMAIL_ERROR_NOTI -7110 /**< The Notification API returned the error */ -#define EMAIL_ERROR_DPM_RESTRICTED_MODE -7201 /**< The DPM service is in restricted mode */ +#define EMAIL_ERROR_DPM_RESTRICTED_MODE TIZEN_ERROR_DEVICE_POLICY_RESTRICTION /**< The DPM service is in restricted mode */ /* Etc */ #define EMAIL_ERROR_ALREADY_INITIALIZED -7321 /**< The thread is already intialized */ diff --git a/email-common-use/include/email-internal-types.h b/email-common-use/include/email-internal-types.h index 57350ca..1061a8b 100755 --- a/email-common-use/include/email-internal-types.h +++ b/email-common-use/include/email-internal-types.h @@ -92,7 +92,7 @@ extern "C" /* #define __FEATURE_IMAP_QUOTA__ */ -/* #define TIZEN_FEATURE_EMAIL_DPM */ +#define TIZEN_FEATURE_EMAIL_DPM /* ----------------------------------------------------------------------------- */ /* Macro */ #ifndef NULL -- 2.7.4