- Because noti_ex_item_h is made by Handle object which are holding shared pointer, it can't be nullptr
- The callback for deleting items expects a valid item
Change-Id: Iaf029fd2197a2cdbb2731505559b6e1d79ab47ee
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
#include "notification-ex/dbus_connection_manager.h"
#include "notification-ex/ex_util.h"
#include "notification-ex/item_info_internal.h"
+#include "notification-ex/null_item.h"
#ifdef LOG_TAG
#undef LOG_TAG
case EventInfo::Count:
break;
case EventInfo::DeleteAll:
- OnDelete(info, nullptr);
+ OnDelete(info, shared_ptr<AbstractItem>(new NullItem()));
break;
case EventInfo::Custom:
break;