projects
/
profile
/
tv
/
apps
/
native
/
air_home.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c320ab1
)
limit notification count to 99
33/44333/1
author
Soohye Shin
<soohye.shin@samsung.com>
Tue, 21 Jul 2015 04:31:16 +0000
(13:31 +0900)
committer
Soohye Shin
<soohye.shin@samsung.com>
Tue, 21 Jul 2015 04:31:16 +0000
(13:31 +0900)
Change-Id: I325ef11e8d6ef92f8aa94f5a016b3c0fd2dfefc5
Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
src/data/data_home.c
patch
|
blob
|
history
diff --git
a/src/data/data_home.c
b/src/data/data_home.c
index
8b17560
..
8c6ecf1
100644
(file)
--- a/
src/data/data_home.c
+++ b/
src/data/data_home.c
@@
-100,6
+100,9
@@
static void _get_notification(char **noti)
_get_notification_count(NOTIFICATION_TYPE_ONGOING, &count);
_get_notification_count(NOTIFICATION_TYPE_NOTI, &count);
+ if (count > 99)
+ count = 99;
+
snprintf(buf, sizeof(buf), "%d", count);
*noti = strdup(buf);
}