fix dpm return code and dpm mode on 64/86164/1 accepted/tizen/common/20160831.161824 accepted/tizen/ivi/20160831.124848 accepted/tizen/mobile/20160831.124703 accepted/tizen/wearable/20160831.124742 submit/tizen/20160831.044825
authorintae, jeon <intae.jeon@samsung.com>
Wed, 31 Aug 2016 01:51:39 +0000 (10:51 +0900)
committerintae, jeon <intae.jeon@samsung.com>
Wed, 31 Aug 2016 01:51:39 +0000 (10:51 +0900)
Change-Id: Ic2046eb25dbde99286707c7f83801b7ce17ab6d3
Signed-off-by: intae, jeon <intae.jeon@samsung.com>
email-common-use/include/email-errors.h
email-common-use/include/email-internal-types.h

index 764ef54..b3c2e88 100755 (executable)
 #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 */
index 57350ca..1061a8b 100755 (executable)
@@ -92,7 +92,7 @@ extern "C"
 
 /* #define __FEATURE_IMAP_QUOTA__ */
 
-/* #define TIZEN_FEATURE_EMAIL_DPM */
+#define TIZEN_FEATURE_EMAIL_DPM
 /* ----------------------------------------------------------------------------- */
 /*  Macro */
 #ifndef NULL