summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyunuktak <hyunuk.tak@samsung.com>2016-06-24 13:41:43 +0900
committerhyunuktak <hyunuk.tak@samsung.com>2016-06-24 13:41:56 +0900
commit7da6a4c1d179a8156c8e0671bf692b5a7139c2f0 (patch)
tree88caa7e70198ff0dafcde597da265389b86a6497
parentfd5263dd96badec43b663cd53457d181f0e34d21 (diff)
downloadnet-popup-7da6a4c1d179a8156c8e0671bf692b5a7139c2f0.tar.gz
net-popup-7da6a4c1d179a8156c8e0671bf692b5a7139c2f0.tar.bz2
net-popup-7da6a4c1d179a8156c8e0671bf692b5a7139c2f0.zip
Change-Id: Ic84c6199a245b5daa91f059e6102ffd16e0d8dfd Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-xpackaging/net.netpopup.spec2
-rwxr-xr-xsrc/net-popup.c9
2 files changed, 9 insertions, 2 deletions
diff --git a/packaging/net.netpopup.spec b/packaging/net.netpopup.spec
index bde968b..74559bd 100755
--- a/packaging/net.netpopup.spec
+++ b/packaging/net.netpopup.spec
@@ -1,6 +1,6 @@
Name: net.netpopup
Summary: Network Notification Popup applicationa
-Version: 0.2.83
+Version: 0.2.84
Release: 1
Group: App/Network
License: Flora-1.1
diff --git a/src/net-popup.c b/src/net-popup.c
index fbb25be..9c63585 100755
--- a/src/net-popup.c
+++ b/src/net-popup.c
@@ -38,6 +38,8 @@
#include "net-popup.h"
#include "net-popup-strings.h"
+#define NET_WIFIQS_APPID "net.wifi-qs"
+
#define LOCALEDIR "/usr/share/locale"
#define NETPOPUP_EDJ tzplatform_mkpath(TZ_SYS_RO_UG, "/res/edje/net-popup/netpopup-custom.edj")
#define QP_PRELOAD_NOTI_ICON_PATH tzplatform_mkpath(TZ_SYS_RO_APP, "/org.tizen.quickpanel/shared/res/noti_icons/Wi-Fi")
@@ -877,7 +879,12 @@ static void __net_popup_add_found_ap_noti(void)
}
ret = app_control_create(&service_handle);
- log_print(NET_POPUP, "service create ret[%d]", ret);
+ log_print(NET_POPUP, "Service create ret[%d]", ret);
+ if(ret != APP_CONTROL_ERROR_NONE)
+ goto error;
+
+ ret = app_control_set_app_id(service_handle, NET_WIFIQS_APPID);
+ log_print(NET_POPUP, "Service set app id ret = %d", ret);
if(ret != APP_CONTROL_ERROR_NONE)
goto error;