Change-Id: Ic76b9c4b82a9f0e60f27b7015c98603e26f79cff
Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
static bool _load_recent_notification(struct datamgr *dm)
{
struct datamgr_item *di;
- int time;
+ int time, count;
char buf[MAX_BUF];
- snprintf(buf, sizeof(buf), "%d", utils_get_notification_count());
+ count = utils_get_notification_count();
+
+ if (count > 0)
+ snprintf(buf, sizeof(buf), "%d Unread Noti.", count);
+ else
+ buf[0] = '\0';
app_contents_get_basis_time(CONTENTS_NOTI, &time);
if (time < 0) {