From 6b23673d815299c8faaf975b34b94972498f4644 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 17 Apr 2024 10:31:06 +0900 Subject: [PATCH] Fix aul_rpc_port_prepare_stub() function 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 --- src/aul/aul_rpc_port.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aul/aul_rpc_port.cc b/src/aul/aul_rpc_port.cc index 592b1fe..7d381a0 100644 --- a/src/aul/aul_rpc_port.cc +++ b/src/aul/aul_rpc_port.cc @@ -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; -- 2.7.4