Connect to widget client from server by on-demand 62/298162/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 28 Aug 2023 11:23:39 +0000 (20:23 +0900)
committerTizen AI <ai.tzn.sec@samsung.com>
Fri, 1 Sep 2023 09:01:40 +0000 (18:01 +0900)
commitae4e8885a5d8a5b3e372092eb5b40349c7cee250
treee6991d72952cb3acd7da4dbf8a0b5c2fd7ca6089
parentc48f4b2c52de7f8e34af4baa657aee8e3c7f7987
Connect to widget client from server by on-demand

- Issue:
By the change of IPC to TIDL, app can receive unknown app launch
request.

- Solution:
This patch postpones the server-to-client connection. TIDL does not
support bi-directional call, so voice control widget client has stub
implementation for receiving some special message from the server.
However, this implementation causes unknown app launch requests for
connection.
Through this change, server will not connect to client immediately when
the client requests to connect. It will try to connect when it actually
needs to send some message to client.

Change-Id: Ie3f13e0a58d80a973715c4c86e71ffa14722de3e
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/vcd_tidl.c