Fix for [TCM-3097] - Wifi turns off automatically 90/164690/1 accepted/tizen/unified/20171222.062624 submit/tizen/20171221.235332
authorAbhishek Sansanwal <abhishek.s94@samsung.com>
Wed, 20 Dec 2017 10:04:36 +0000 (15:34 +0530)
committerAbhishek Sansanwal <abhishek.s94@samsung.com>
Wed, 20 Dec 2017 10:11:57 +0000 (15:41 +0530)
commit0bcca20452606be5fa12374d921ae32f63acb8b4
tree94d3af4cc63055e25b42e53ea5a0484888e3d72c
parentc93cb68c439043fbc073c158c68a8c15407e1ff2
Fix for [TCM-3097] - Wifi turns off automatically

Description: The WiFi state was not remembered so when the
application was started again the state was always off in
case of emulator. Also in case of emulator the radio button
was on initially on for a short duration and then turned to
off for every time the application was started.

The solution was to use a vconf key and set/get the key
in case of emulator instead of using wifi-manager calls
as in the case of hardware device. When the application
is launched we get the vconf key value and restore the
state again.

Change-Id: I0a9c3355a80d298864374a122bad69588f1df96a
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
sources/libraries/WlanManager/WlanManager/wlan_manager.c
sources/ui-gadget/viewers-layout/viewer_manager.c