TARGET_LINK_LIBRARIES(${this_target} "-lpthread" )
TARGET_LINK_LIBRARIES(${this_target} "-lcrypto" )
TARGET_LINK_LIBRARIES(${this_target} "-lsoup-2.4" )
-TARGET_LINK_LIBRARIES(${this_target} "-lcapi-appfw-app-manager" )
+TARGET_LINK_LIBRARIES(${this_target} "-laul" )
TARGET_LINK_LIBRARIES(${this_target} "-lcapi-appfw-package-manager" )
TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp-server -losp-appfw-server")
BuildRequires: pkgconfig(libsmack)
BuildRequires: pkgconfig(message-port)
BuildRequires: pkgconfig(openssl)
-BuildRequires: pkgconfig(capi-appfw-app-manager)
BuildRequires: pkgconfig(capi-appfw-package-manager)
BuildRequires: osp-appfw-internal-devel
BuildRequires: hash-signer
#include <sys/smack.h>
-#include <ipc/ipc_message.h>
+#include <aul/aul.h>
-#include <app_manager.h>
+#include <ipc/ipc_message.h>
#include <FBaseRtMutex.h>
#include <FBaseSysLog.h>
pClientInfo->pIpcServer = pIpcServer;
pClientInfo->clientId = cr.pid;
- char* pAppId = NULL;
- ret = app_manager_get_app_id(cr.pid, &pAppId);
- SysTryCatch(NID_IO, ret >= 0, delete pClientInfo, E_SYSTEM, "[E_SYSTEM] Failed to get_app_id: %d", ret);
+ char buffer[256] = {0, };
+ ret = aul_app_get_appid_bypid(cr.pid, buffer, sizeof(buffer));
+ SysTryCatch(NID_IO, ret == AUL_R_OK, delete pClientInfo, E_SYSTEM, "[E_SYSTEM] Failed to get the application ID of pid: %d", ret);
- pClientInfo->appId = pAppId;
- free(pAppId);
+ pClientInfo->appId = buffer;
pClientInfo->pReverseChannel = null;