summaryrefslogtreecommitdiff
path: root/am_daemon/amd_launch.c
diff options
context:
space:
mode:
Diffstat (limited to 'am_daemon/amd_launch.c')
-rwxr-xr-xam_daemon/amd_launch.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/am_daemon/amd_launch.c b/am_daemon/amd_launch.c
index fed2659b..aa88100f 100755
--- a/am_daemon/amd_launch.c
+++ b/am_daemon/amd_launch.c
@@ -27,7 +27,6 @@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
-#include <app2ext_interface.h>
#include <sys/prctl.h>
#include <pkgmgr-info.h>
#include <poll.h>
@@ -752,9 +751,7 @@ int _start_app(char* appid, bundle* kb, int cmd, int caller_pid, uid_t caller_ui
}
}
- if(app2ext_get_app_location(pkgid) == APP2EXT_SD_CARD) {
- app2ext_enable_external_pkg(pkgid);
- }
+ pkgmgrinfo_client_request_enable_external_pkg(pkgid);
if (componet && strncmp(componet, "ui", 2) == 0) {
multiple = appinfo_get_value(ai, AIT_MULTI);