summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8da94e7)
Change-Id: I6ed5e19a0327567b9ddf9da6684a2b83c39d9f2d
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
API int pkgmgrinfo_client_request_enable_external_pkg(char *pkgid)
{
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);
}
_LOGD("call system server to enable app2ext");
return mmc_mount_app2ext(pkgid);
}