Modified from internal API to public API 37/61737/1
authorhyunuktak <hyunuk.tak@samsung.com>
Thu, 10 Mar 2016 07:59:41 +0000 (16:59 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Thu, 10 Mar 2016 07:59:46 +0000 (16:59 +0900)
Change-Id: I90ca56ffe5b3b36b3e7c184bc07785f78955b767
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/wifi-efl-ug.spec
sources/libraries/Common/common_utils.c
sources/ui-gadget/viewers-layout/view_advanced.c
sources/ui-gadget/viewers-layout/viewer_manager.c
wifi-efl-ug.xml

index 48aed75..bfd4f60 100644 (file)
@@ -1,7 +1,7 @@
 %define _unpackaged_files_terminate_build 0
 Name:          wifi-efl-ug
 Summary:       Wi-Fi UI Gadget for TIZEN
-Version:       1.0.161
+Version:       1.0.162
 Release:       1
 Group:         App/Network
 License:       Flora-1.1
index be80608..51f5363 100755 (executable)
@@ -546,10 +546,10 @@ int common_utils_send_message_to_net_popup(const char *title,
        int ret = 0;
        bundle *b = bundle_create();
 
-       bundle_add(b, "_SYSPOPUP_TITLE_", title);
-       bundle_add(b, "_SYSPOPUP_CONTENT_", content);
-       bundle_add(b, "_SYSPOPUP_TYPE_", type);
-       bundle_add(b, "_AP_NAME_", ssid);
+       bundle_add_str(b, "_SYSPOPUP_TITLE_", title);
+       bundle_add_str(b, "_SYSPOPUP_CONTENT_", content);
+       bundle_add_str(b, "_SYSPOPUP_TYPE_", type);
+       bundle_add_str(b, "_AP_NAME_", ssid);
 
        ret = aul_launch_app("net.netpopup", b);
 
index e206c71..d1ceab8 100755 (executable)
@@ -131,7 +131,7 @@ static void _launch_cert_select_app(void)
 
        app_control_create(&app_control);
        app_control_set_operation(app_control, APP_CONTROL_OPERATION_DEFAULT);
-       app_control_set_window(app_control, elm_win_xwindow_get(ug_get_window()));
+       app_control_set_launch_mode(app_control, APP_CONTROL_LAUNCH_MODE_GROUP);
        app_control_set_app_id(app_control, "setting-manage-certificates-efl");
 
        ret = app_control_send_launch_request(app_control, NULL, NULL);
index 3ceb03c..308dda1 100755 (executable)
@@ -93,7 +93,7 @@ static void _launch_wifi_direct_app(void)
 
        app_control_create(&app_control);
        app_control_set_operation(app_control, APP_CONTROL_OPERATION_DEFAULT);
-       app_control_set_window(app_control, elm_win_xwindow_get(ug_get_window()));
+       app_control_set_launch_mode(app_control, APP_CONTROL_LAUNCH_MODE_GROUP);
        app_control_set_app_id(app_control, "setting-wifidirect-efl");
 
        ret = app_control_send_launch_request(app_control, NULL, NULL);
index 08d50ce..01114a4 100644 (file)
@@ -13,5 +13,6 @@
                <privilege>http://tizen.org/privilege/network.get</privilege>
                <privilege>http://tizen.org/privilege/network.set</privilege>
                <privilege>http://tizen.org/privilege/network.profile</privilege>
+               <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
        </privileges>
 </manifest>