From 351df75d13933d54517664194bb9c49692ef82ea Mon Sep 17 00:00:00 2001 From: Andrey Klimenko Date: Fri, 28 Oct 2016 16:44:58 +0300 Subject: [PATCH] TizenRefApp-7514 got rid of "api available" dependency for "Popup notification" and "App badge" settings in "App notification detail" Change-Id: Iebff0db7b67a83154e0edf255db1bcf3e5591b6c Signed-off-by: Andrey Klimenko --- src/app-details.c | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/src/app-details.c b/src/app-details.c index 94c06f8..219f685 100644 --- a/src/app-details.c +++ b/src/app-details.c @@ -126,19 +126,6 @@ static void popup_noti_check_changed_cb(void *data, Evas_Object *obj, void *even popup_noti_status_set(state); } -static Eina_Bool app_pop_up_notification_exists_get() -{ - /* implement when API will be available */ - return EINA_TRUE; -} - -static Eina_Bool app_badge_exists_get() -{ - bool value = EINA_FALSE; - badge_is_existing(g_app_info->appid, &value); - return value; -} - static Eina_Bool app_badge_status_get() { unsigned int value = EINA_TRUE; @@ -514,10 +501,8 @@ void app_details_create_view(ug_data *data, item_info_s *app_info) app_details_gl_append(genlist, "type1", APP_DETAILS_ALLOW_NOTI); app_details_gl_append(genlist, "group_index", APP_DETAILS_GROUP_INDEX); - if(app_pop_up_notification_exists_get()) - app_details_gl_append(genlist, "multiline", APP_DETAILS_POPUP_NOTI); - if(app_badge_exists_get()) - app_details_gl_append(genlist, "type1", APP_DETAILS_APP_BADGE); + app_details_gl_append(genlist, "multiline", APP_DETAILS_POPUP_NOTI); + app_details_gl_append(genlist, "type1", APP_DETAILS_APP_BADGE); app_details_gl_append(genlist, "type1", APP_DETAILS_NOTI_ON_LOCK); Elm_Object_Item *navi_item = elm_naviframe_item_push(data->naviframe, g_app_info->name, back_btn, NULL, genlist, NULL); -- 2.7.4