From: Tomasz Iwanek Date: Fri, 23 Oct 2015 09:29:05 +0000 (+0200) Subject: Create icon files for service applications X-Git-Tag: accepted/tizen/mobile/20151029.231518~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f1808bef2e5527e0d897d6411bdae0805b0f2a3;p=platform%2Fcore%2Fappfw%2Fapp-installers.git Create icon files for service applications Change-Id: I8db4123c3d8d4969635644e358c294cbd3d90b71 --- diff --git a/src/common/step/step_backup_icons.cc b/src/common/step/step_backup_icons.cc index d7691aa..aa8edc5 100755 --- a/src/common/step/step_backup_icons.cc +++ b/src/common/step/step_backup_icons.cc @@ -24,9 +24,6 @@ Step::Status StepBackupIcons::process() { for (application_x* app : GListRange( context_->old_manifest_data.get()->application)) { - if (strcmp(app->component_type, "uiapp") != 0) - continue; - bf::path app_icon = bf::path(getIconPath(context_->uid.get())) / bf::path(app->appid); if (app->icon) { diff --git a/src/common/step/step_create_icons.cc b/src/common/step/step_create_icons.cc index e1c4912..f3b83b8 100644 --- a/src/common/step/step_create_icons.cc +++ b/src/common/step/step_create_icons.cc @@ -29,9 +29,6 @@ Step::Status StepCreateIcons::process() { for (application_x* app : GListRange(context_->manifest_data.get()->application)) { - if (strcmp(app->component_type, "uiapp") != 0) - continue; - // TODO(t.iwanek): this is ignoring icon locale as well as other steps // icons should be localized if (app->icon) { diff --git a/src/common/step/step_recover_icons.cc b/src/common/step/step_recover_icons.cc index 37591bb..c9fdaa2 100644 --- a/src/common/step/step_recover_icons.cc +++ b/src/common/step/step_recover_icons.cc @@ -56,9 +56,6 @@ bool StepRecoverIcons::TryGatherIcons() { return false; for (application_x* app : GListRange(context_->manifest_data.get()->application)) { - if (strcmp(app->component_type, "uiapp") != 0) - continue; - bf::path app_icon = bf::path(getIconPath(context_->uid.get())) / bf::path(app->appid); if (app->icon) { diff --git a/src/common/step/step_remove_icons.cc b/src/common/step/step_remove_icons.cc index ab29c3d..2f80363 100644 --- a/src/common/step/step_remove_icons.cc +++ b/src/common/step/step_remove_icons.cc @@ -31,9 +31,6 @@ Step::Status StepRemoveIcons::precheck() { Step::Status StepRemoveIcons::process() { for (application_x* app : GListRange(context_->manifest_data.get()->application)) { - if (strcmp(app->component_type, "uiapp") != 0) - continue; - bf::path app_icon = bf::path(getIconPath(context_->uid.get())) / bf::path(app->appid); if (app->icon) {