change app2sd API
authorJaeho Lee <jaeho81.lee@samsung.com>
Thu, 17 Oct 2013 10:48:56 +0000 (19:48 +0900)
committerJaeho Lee <jaeho81.lee@samsung.com>
Thu, 17 Oct 2013 10:48:56 +0000 (19:48 +0900)
Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
CMakeLists.txt
am_daemon/amd_launch.c
packaging/aul.spec

index 4dbb1ce..909ce32 100755 (executable)
@@ -20,7 +20,7 @@ MESSAGE("Build type: ${CMAKE_BUILD_TYPE}")
 # Set required packages
 INCLUDE(FindPkgConfig)
 
-pkg_check_modules(pkgs REQUIRED dlog ecore x11 libprivilege-control app-checker rua glib-2.0 ecore-x ecore-input evas vconf pkgmgr-info app2sd privacy-manager-client)
+pkg_check_modules(pkgs REQUIRED dlog ecore x11 libprivilege-control app-checker rua glib-2.0 ecore-x ecore-input evas vconf pkgmgr-info privacy-manager-client)
 pkg_check_modules(libpkgs REQUIRED dlog bundle dbus-glib-1 ail xdgmime app-checker libsmack)
 PKG_CHECK_MODULES(PKGS REQUIRED glib-2.0 gio-2.0 dlog bundle)
 
index fed2659..aa88100 100755 (executable)
@@ -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);
index 0deaeaa..f889f8f 100644 (file)
@@ -1,6 +1,6 @@
 Name:       aul
 Summary:    App utility library
-Version:    0.0.283
+Version:    0.0.284
 Release:    1
 Group:      System/Libraries
 License:    Apache License, Version 2.0
@@ -33,7 +33,6 @@ BuildRequires:  pkgconfig(utilX)
 BuildRequires:  pkgconfig(vconf)
 BuildRequires:  pkgconfig(pkgmgr-info)
 BuildRequires:  pkgconfig(libsmack)
-BuildRequires: pkgconfig(app2sd)
 BuildRequires:  pkgconfig(privacy-manager-client)