If the launch request is for RPC, the app control callback
is not invoked.
Change-Id: Ib1914c9e2321a6a0952ec1d88d68ab7f8fd542bf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
#include <appcore_base.h>
#include <service_app.h>
#include <aul_job_scheduler.h>
+#include <aul_rpc_port.h>
#include <bundle_internal.h>
#include <glib.h>
{
app_control_h app_control = NULL;
const char *job_id;
+ const char *rpc_port;
LOGD("[SERVICE_APP] app_control callback");
appcore_base_on_control(b);
return 0;
}
+ rpc_port = bundle_get_val(b, AUL_K_RPC_PORT);
+ if (rpc_port) {
+ LOGD("[__RPC_PORT_PORT__] %s", rpc_port);
+ return 0;
+ }
+
if (app_control_create_event(b, &app_control) != 0)
return -1;