Merge branch private-master
authorjunsuk77.oh <junsuk77.oh@samsung.com>
Mon, 10 Jun 2013 04:49:05 +0000 (13:49 +0900)
committerjunsuk77.oh <junsuk77.oh@samsung.com>
Mon, 10 Jun 2013 04:49:05 +0000 (13:49 +0900)
Change-Id: I88990e27a02ccdb139bfce579bdd522f38112efb
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
packaging/pkgmgr-info.spec
src/pkgmgr-info.c

index 71e063a..98e19ef 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       pkgmgr-info
 Summary:    Packager Manager infomation api for package
-Version:    0.0.117
+Version:    0.0.118
 Release:    1
 Group:      Application Framework/Package Management
 License:    Apache-2.0
index 8866341..e52abf8 100755 (executable)
@@ -2694,9 +2694,7 @@ API int pkgmgrinfo_pkginfo_get_installed_storage(pkgmgrinfo_pkginfo_h handle, pk
 
        /*check whether application is in external memory or not */
        fp = fopen(app_mmc_path, "r");
-       if (fp == NULL) {
-               _LOGE(" app path in external memory not accesible\n");
-       } else {
+       if (fp != NULL) {
                fclose(fp);
                fp = NULL;
                *storage = PMINFO_EXTERNAL_STORAGE;
@@ -2706,7 +2704,6 @@ API int pkgmgrinfo_pkginfo_get_installed_storage(pkgmgrinfo_pkginfo_h handle, pk
        /*check whether application is in internal or not */
        fp = fopen(app_dir_path, "r");
        if (fp == NULL) {
-               _LOGE(" app path in internal memory not accesible\n");
                *storage = -1;
                return PMINFO_R_ERROR;
        } else {