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:
d59bac5
)
Add an acceptance condition to CanReceive()
16/201916/1
author
jusung son
<jusung07.son@samsung.com>
Thu, 21 Mar 2019 02:37:13 +0000
(11:37 +0900)
committer
jusung son
<jusung07.son@samsung.com>
Thu, 21 Mar 2019 02:37:13 +0000
(11:37 +0900)
Change-Id: Id19035489ca4706063a915ea2c760ff311921f8c
Signed-off-by: jusung son <jusung07.son@samsung.com>
notification-ex/abstract_item.cc
patch
|
blob
|
history
diff --git
a/notification-ex/abstract_item.cc
b/notification-ex/abstract_item.cc
index
c196d9c
..
c7a9a1b
100644
(file)
--- a/
notification-ex/abstract_item.cc
+++ b/
notification-ex/abstract_item.cc
@@
-350,7
+350,7
@@
list<string> AbstractItem::GetReceiverList() {
}
bool AbstractItem::CanReceive(std::string id) const {
- if (impl_->receiver_group_list_.size() == 0)
+ if (impl_->receiver_group_list_.size() == 0
|| id.empty()
)
return true;
list<string>::iterator iter =
std::find(impl_->receiver_group_list_.begin(),