Create icon files for service applications 30/50030/2
authorTomasz Iwanek <t.iwanek@samsung.com>
Fri, 23 Oct 2015 09:29:05 +0000 (11:29 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Tue, 27 Oct 2015 12:36:20 +0000 (13:36 +0100)
Change-Id: I8db4123c3d8d4969635644e358c294cbd3d90b71

src/common/step/step_backup_icons.cc
src/common/step/step_create_icons.cc
src/common/step/step_recover_icons.cc
src/common/step/step_remove_icons.cc

index d7691aa..aa8edc5 100755 (executable)
@@ -24,9 +24,6 @@ Step::Status StepBackupIcons::process() {
   for (application_x* app :
       GListRange<application_x*>(
          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) {
index e1c4912..f3b83b8 100644 (file)
@@ -29,9 +29,6 @@ Step::Status StepCreateIcons::process() {
 
   for (application_x* app :
        GListRange<application_x*>(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) {
index 37591bb..c9fdaa2 100644 (file)
@@ -56,9 +56,6 @@ bool StepRecoverIcons::TryGatherIcons() {
     return false;
   for (application_x* app :
        GListRange<application_x*>(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) {
index ab29c3d..2f80363 100644 (file)
@@ -31,9 +31,6 @@ Step::Status StepRemoveIcons::precheck() {
 Step::Status StepRemoveIcons::process() {
   for (application_x* app :
        GListRange<application_x*>(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) {