[ticker] Show ticker even if icon is not set 86/106386/2
authorKamil Lipiszko <k.lipiszko@samsung.com>
Wed, 21 Dec 2016 11:51:43 +0000 (12:51 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 21 Dec 2016 13:26:18 +0000 (05:26 -0800)
TSAM-11979 fix

Change-Id: I1b2f98157206fb1b93ce15e5dd267fdaaca475bd

src/ticker.c

index 600fe1f..bd35b7c 100644 (file)
@@ -411,11 +411,11 @@ static Evas_Object *_ticker_icon_create(ticker_info_s *ticker_info)
 
        int ret = notification_get_image(noti, NOTIFICATION_IMAGE_TYPE_ICON, &icon_path);
        if (ret != NOTIFICATION_ERROR_NONE || !icon_path) {
-               _E("notification_get_image failed: %s", get_error_message(ret));
-               return NULL;
+               _W("notification_get_image failed: %s", get_error_message(ret));
+       } else {
+               icon = _animated_icon_get(layout, icon_path);
        }
 
-       icon = _animated_icon_get(layout, icon_path);
        if (!icon) {
                icon = elm_image_add(layout);
                if (!icon_path