Fix g_variant value to work kill/check command properly 68/56868/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 13 Jan 2016 08:22:30 +0000 (17:22 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 13 Jan 2016 08:22:30 +0000 (17:22 +0900)
Change-Id: I840dd34951760a3a836f88541b21672092f3bdbd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
client/src/pkgmgr.c

index 2a252e93e4c0c21612355dd8050ad006c3473949..829a6ac1874d05dec5570bbd4f5f16a2e23f8c51 100644 (file)
@@ -635,10 +635,10 @@ static int __check_app_process(pkgmgr_request_service_type service_type,
 
        if (service_type == PM_REQUEST_KILL_APP)
                result = comm_client_request(mpc->info.request.cc, "kill",
-                               g_variant_new("(s)", pkgid));
+                               g_variant_new("(us)", uid, pkgid));
        else if (service_type == PM_REQUEST_CHECK_APP)
                result = comm_client_request(mpc->info.request.cc, "check",
-                               g_variant_new("(s)", pkgid));
+                               g_variant_new("(us)", uid, pkgid));
 
        if (result == NULL)
                return PKGMGR_R_ECOMM;