[ticker] Show ticker even if icon is not set 46/106446/4 accepted/tizen/3.0/mobile/20161226.024616 submit/tizen_3.0/20161221.191631
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 14:29:10 +0000 (06:29 -0800)
TSAM-11979 fix

Change-Id: I1b2f98157206fb1b93ce15e5dd267fdaaca475bd

src/ticker.c

index 181b3739431b015b16d021273cdd8253893b9c12..463a41ebfa1e9a638b4c29c09c6ee115fd3b0e69 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