Fix aul_rpc_port_prepare_stub() function 82/309782/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 17 Apr 2024 01:31:06 +0000 (10:31 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 17 Apr 2024 01:31:06 +0000 (10:31 +0900)
The socket option is changed to AUL_SOCK_BUNDLE from AUL_SOCK_QUEUE.
When amd gets the request, amd will change the socket option to
"AUL_SOCK_QUEUE | AUL_SOCK_BUNDLE".

Change-Id: I93629714285fdd2783c6683c4236d06f1d246314
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/aul/aul_rpc_port.cc

index 592b1fe..7d381a0 100644 (file)
@@ -156,7 +156,7 @@ extern "C" API int aul_rpc_port_usr_prepare_stub(const char* app_id,
   int ret = AppRequest(RPC_PORT_PREPARE_STUB, uid)
       .With(b)
       .SetAppId(app_id)
-      .SendSimply(AUL_SOCK_QUEUE);
+      .SendSimply(AUL_SOCK_BUNDLE);
   if (ret < 0) {
     _E("Failed to send request. app_id(%s), port_name(%s)", app_id, port_name);
     return ret;