Fix aul_rpc_port_prepare_stub() function
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:56:13 +0000 (10:56 +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 7a8d68b7aead019a5d51087b178d027ed1971b3e..5420ce28ecf92e41074e426182f32fa481278597 100644 (file)
@@ -148,7 +148,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;