Start/stop Wi-Fi Direct popup using async function 40/200040/3 accepted/tizen/unified/20190221.015355 submit/tizen/20190220.080728
authorYu <jiung.yu@samsung.com>
Mon, 18 Feb 2019 08:15:08 +0000 (17:15 +0900)
committerYu <jiung.yu@samsung.com>
Wed, 20 Feb 2019 06:17:05 +0000 (15:17 +0900)
commit58bafa0d55992e8398f010867c824393b83f3c8b
treeaf81b39c8992b21291c53e6fd55fbb0bb57f1b8e
parente5ef870b762adf649953c5dbbc3f0ebcd298b7a6
Start/stop Wi-Fi Direct popup using async function

Description : There's Wi-Fi Direct popup app crash
when Wi-Fi Direct On/Off happens with short term.
That's because Wi-Fi Direct popup waits Addclient method call
reply at Wi-Fi Direct capi initialize time but wfd-manager daemon
busy deactivating and not responding to it.

Also, wfd-manager daemon stops Wi-Fi Direct popup when deactivating
but Wi-Fi Direct popup doesn't get terminate request
because it doesn't get the reply for Addclient method call yet.

AMD sends some signal if application doesn't respond within 5 sec
and Wi-Fi Direct popup'll be killed and leave crash log.

In this change, daemon will start/stop Wi-fi Direct popup
using async function of aul

Related change seems :
https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/194005/
Change-Id: Ie05d4c4bacd7e7d01a8e41a1c870428329c11fce
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
packaging/wifi-direct-manager.spec
src/wifi-direct-util.c