Style check 02/85702/2
authorPiotr Ganicz <p.ganicz@samsung.com>
Fri, 26 Aug 2016 14:22:27 +0000 (16:22 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Fri, 26 Aug 2016 14:31:19 +0000 (07:31 -0700)
Change-Id: I598fc8deca97af0ad3e099adb33b7ba482a0edfd

src/common/step/filesystem/step_acquire_external_storage.cc
src/common/step/filesystem/step_change_owner.cc

index adad0eb..c962063 100644 (file)
@@ -8,6 +8,7 @@
 #include <vconf-internal-keys.h>
 
 #include <cstring>
+#include <string>
 
 #include "common/external_storage.h"
 #include "common/pkgmgr_query.h"
@@ -61,7 +62,7 @@ Step::Status StepAcquireExternalStorage::process() {
   } else {
     if (!strcmp(manifest->installlocation, kInternalOnly)) {
       storage = Storage::INTERNAL;
-    } else if(!strcmp(manifest->installlocation, kPreferExternal)) {
+    } else if (!strcmp(manifest->installlocation, kPreferExternal)) {
       storage = Storage::EXTERNAL;
     } else {
       // int type vconf value:
index 073b8c0..2c4c04e 100644 (file)
@@ -135,7 +135,7 @@ Step::Status StepChangeOwner::process() {
 
       icon_x* icon = reinterpret_cast<icon_x*>(app->icon->data);
       bf::path icon_path = icon->text;
-      //bf::path base_path = iconpath;
+      //  bf::path base_path = iconpath;
       bf::path found_icon_path = FindIconPath(iconpath,
           context_->pkgid.get(), icon_path.filename(),
           context_->root_application_path.get());