diff options
author | hyunuktak <hyunuk.tak@samsung.com> | 2016-06-24 13:41:43 +0900 |
---|---|---|
committer | hyunuktak <hyunuk.tak@samsung.com> | 2016-06-24 13:41:56 +0900 |
commit | 7da6a4c1d179a8156c8e0671bf692b5a7139c2f0 (patch) | |
tree | 88caa7e70198ff0dafcde597da265389b86a6497 | |
parent | fd5263dd96badec43b663cd53457d181f0e34d21 (diff) | |
download | net-popup-7da6a4c1d179a8156c8e0671bf692b5a7139c2f0.tar.gz net-popup-7da6a4c1d179a8156c8e0671bf692b5a7139c2f0.tar.bz2 net-popup-7da6a4c1d179a8156c8e0671bf692b5a7139c2f0.zip |
App control sets app id when add found ap notisubmit/tizen/20160628.043751submit/tizen/20160627.022547submit/tizen/20160624.045118accepted/tizen/wearable/20160628.065822accepted/tizen/tv/20160628.065831accepted/tizen/mobile/20160628.065841accepted/tizen/ivi/20160628.065835accepted/tizen/common/20160628.141436accepted/tizen/common/20160627.191859
Change-Id: Ic84c6199a245b5daa91f059e6102ffd16e0d8dfd
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-x | packaging/net.netpopup.spec | 2 | ||||
-rwxr-xr-x | src/net-popup.c | 9 |
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; |