projects
/
platform
/
core
/
api
/
notification.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b9dee0
)
Fix TextItem create issue
77/224277/1
author
mk5004.lee
<mk5004.lee@samsung.com>
Fri, 7 Feb 2020 09:57:31 +0000
(18:57 +0900)
committer
mk5004.lee
<mk5004.lee@samsung.com>
Fri, 7 Feb 2020 09:57:31 +0000
(18:57 +0900)
- If the id is null, a crash occurs.
So in the case of null, it was modified to hand over "".
Change-Id: I1e512482a55bbb09279d821ecb62b3d63608f075
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
notification-ex/stub.cc
patch
|
blob
|
history
diff --git
a/notification-ex/stub.cc
b/notification-ex/stub.cc
index
b11bd92
..
70c91e0
100644
(file)
--- a/
notification-ex/stub.cc
+++ b/
notification-ex/stub.cc
@@
-3107,6
+3107,9
@@
extern "C" EXPORT_API int noti_ex_item_text_create(noti_ex_item_h *handle,
TextItem* p;
+ if (id == NULL)
+ id = "";
+
if (hyperlink)
p = new (std::nothrow) TextItem(id, std::string(text),
std::string(hyperlink));