projects
/
framework
/
appfw
/
pkgmgr-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8da94e7
)
add a routine to check external pkg
tizen_2.2
2.2.1_release
submit/tizen_2.2/20131107.062307
author
junsuk77.oh
<junsuk77.oh@samsung.com>
Thu, 24 Oct 2013 02:13:36 +0000
(11:13 +0900)
committer
junsuk77.oh
<junsuk77.oh@samsung.com>
Thu, 24 Oct 2013 02:13:36 +0000
(11:13 +0900)
Change-Id: I6ed5e19a0327567b9ddf9da6684a2b83c39d9f2d
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
src/pkgmgr-info.c
patch
|
blob
|
history
diff --git
a/src/pkgmgr-info.c
b/src/pkgmgr-info.c
index
89c1998
..
663275d
100755
(executable)
--- a/
src/pkgmgr-info.c
+++ b/
src/pkgmgr-info.c
@@
-7182,6
+7182,11
@@
catch:
API int pkgmgrinfo_client_request_enable_external_pkg(char *pkgid)
{
+ retvm_if(pkgid == NULL, PMINFO_R_EINVAL, "pkgid is NULL\n");
+
+ if(__get_pkg_location(pkgid) != PMINFO_EXTERNAL_STORAGE)
+ return PMINFO_R_OK;
+
_LOGD("call system server to enable app2ext");
return mmc_mount_app2ext(pkgid);
}