App control sets app id when add found ap noti 60/76460/1 accepted/tizen/common/20160627.191859 accepted/tizen/common/20160628.141436 accepted/tizen/ivi/20160628.065835 accepted/tizen/mobile/20160628.065841 accepted/tizen/tv/20160628.065831 accepted/tizen/wearable/20160628.065822 submit/tizen/20160624.045118 submit/tizen/20160627.022547 submit/tizen/20160628.043751
authorhyunuktak <hyunuk.tak@samsung.com>
Fri, 24 Jun 2016 04:41:43 +0000 (13:41 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Fri, 24 Jun 2016 04:41:56 +0000 (13:41 +0900)
Change-Id: Ic84c6199a245b5daa91f059e6102ffd16e0d8dfd
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/net.netpopup.spec
src/net-popup.c

index bde968b..74559bd 100755 (executable)
@@ -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
index fbb25be..9c63585 100755 (executable)
@@ -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;