From: Kamil Lipiszko Date: Wed, 21 Dec 2016 11:51:43 +0000 (+0100) Subject: [ticker] Show ticker even if icon is not set X-Git-Tag: submit/submit/tizen/20170206.010236/20170206.091206~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da364f2aadd3e1fa79c4f3ee6b6fbcb69c018957;p=profile%2Fmobile%2Fapps%2Fnative%2Findicator.git [ticker] Show ticker even if icon is not set TSAM-11979 fix Change-Id: I1b2f98157206fb1b93ce15e5dd267fdaaca475bd --- diff --git a/src/ticker.c b/src/ticker.c index 600fe1f..bd35b7c 100644 --- a/src/ticker.c +++ b/src/ticker.c @@ -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