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:
99302d7
)
Add missing null check logic
91/218391/2
author
hyunho
<hhstark.kang@samsung.com>
Fri, 22 Nov 2019 02:18:46 +0000
(11:18 +0900)
committer
Hyunho Kang
<hhstark.kang@samsung.com>
Thu, 28 Nov 2019 10:24:49 +0000
(10:24 +0000)
Change-Id: I59f029bd9eafe0337ab01db1a572dc6162d7dec8
Signed-off-by: hyunho <hhstark.kang@samsung.com>
notification-ex/stub.cc
patch
|
blob
|
history
diff --git
a/notification-ex/stub.cc
b/notification-ex/stub.cc
index
45f5c1a
..
74d1a84
100644
(file)
--- a/
notification-ex/stub.cc
+++ b/
notification-ex/stub.cc
@@
-1653,7
+1653,7
@@
extern "C" EXPORT_API int noti_ex_style_set_background_color(
extern "C" EXPORT_API int noti_ex_led_info_create(noti_ex_led_info_h *handle,
noti_ex_color_h color) {
- if (handle == nullptr) {
+ if (handle == nullptr
|| color == nullptr
) {
LOGE("Invalid parameter");
return NOTI_EX_ERROR_INVALID_PARAMETER;
}