Add notification's modification 25/40525/1 submit/tizen_common/20150608.081142 submit/tizen_mobile/20150604.105928
authorgloryj.kim <gloryj.kim@samsung.com>
Fri, 5 Jun 2015 02:00:42 +0000 (11:00 +0900)
committergloryj.kim <gloryj.kim@samsung.com>
Fri, 5 Jun 2015 02:00:42 +0000 (11:00 +0900)
Change-Id: Ie4c104d0a6f68621be3e6ba271b5d703ec7c8da5

provider/download-provider-notification.c

index f6e2f8b..f249295 100755 (executable)
 #include "notification.h"
 #include "appsvc.h"
 
+#include "notification_text_domain.h"
+#include "notification_internal.h"
+#include "notification_error.h"
+
 #include "download-provider-defs.h"
 
 #include "download-provider-notification.h"
@@ -43,10 +47,10 @@ static const char *__noti_error_str(
                notification_error_e err)
 {
        switch (err) {
-       case NOTIFICATION_ERROR_INVALID_DATA:
-               return "NOTIFICATION_ERROR_INVALID_DATA";
-       case NOTIFICATION_ERROR_NO_MEMORY:
-               return "NOTIFICATION_ERROR_NO_MEMORY";
+       case NOTIFICATION_ERROR_INVALID_PARAMETER:
+               return "NOTIFICATION_ERROR_INVALID_PARAMETER";
+       case NOTIFICATION_ERROR_OUT_OF_MEMORY:
+               return "NOTIFICATION_ERROR_OUT_OF_MEMORY";
        case NOTIFICATION_ERROR_FROM_DB:
                return "NOTIFICATION_ERROR_FROM_DB";
        case NOTIFICATION_ERROR_ALREADY_EXIST_ID: