Launch apps with new app id 87/66987/1 accepted/tizen/mobile/20160423.055811 submit/tizen/20160422.102358
authorkiso.chang <kiso.chang@samsung.com>
Fri, 22 Apr 2016 10:14:11 +0000 (19:14 +0900)
committerkiso.chang <kiso.chang@samsung.com>
Fri, 22 Apr 2016 10:15:43 +0000 (19:15 +0900)
 - lockscreen, do not disturb, app notofocations, homescreen

Change-Id: Iccfb34b14cee0b1c64a2397b65554bc7c0f6cf36
Signed-off-by: kiso.chang <kiso.chang@samsung.com>
setting-applications/src/setting-applications-defaultapp.c
setting-profile/src/setting-profile-sound-main.c
setting-security/src/setting-security-main.c

index 63e15bec98f21077f492c1c50cf39db0c0c20009..4d24ce793993ac7bccee9f5052a083c170d20705 100644 (file)
@@ -293,7 +293,7 @@ static gboolean setting_applications_create_homescreen_setting_ug(void *data)
        }
        FREE(cbs);
 #else
-       app_launcher("setting-homescreen-efl");
+       app_launcher("org.tizen.setting-homescreen");
 #endif
        return TRUE;
 }
index 2608f8046e1d7a641e138ad1cccf9bb8b6556b1f..253e4d603994b1108669212b6e5fac807381e956 100644 (file)
@@ -31,6 +31,8 @@
 #include <notification_setting.h>
 #include <notification_setting_internal.h>
 
+#define DO_NOT_DISTURB_OP "http://tizen.org/appcontrol/operation/setting/do_not_disturb"       
+#define APP_NOTIFICATIONS_OP "http://tizen.org/appcontrol/operation/setting/app_notifications"
 
 #define SETTING_SOUND_VOL_MAX 15
 #define SETTING_DEFAULT_RINGTONE_VOL_INT       11
@@ -1182,7 +1184,12 @@ setting_sound_main_mouse_up_Gendial_list_cb(void *data,
                ug_create(ad->ug, "ug-setting-notification-do-not-disturb-efl", UG_MODE_FULLVIEW, NULL, cbs);
                FREE(cbs);
 #else
-               app_launcher("ug-setting-notification-do-not-disturb-efl");
+               app_control_h service=0;
+               app_control_create(&service);
+               app_control_set_app_id(service,"org.tizen.setting-notification");
+               app_control_set_operation(service, DO_NOT_DISTURB_OP);
+               app_control_send_launch_request(service, NULL, NULL);
+               app_control_destroy(service);
 #endif
        } else if (!safeStrCmp("IDS_ST_MBODY_APP_NOTIFICATIONS", list_item->keyStr)) {
 #if 0
@@ -1200,7 +1207,13 @@ setting_sound_main_mouse_up_Gendial_list_cb(void *data,
                ug_create(ad->ug, "ug-setting-notification-app-notifications-efl", UG_MODE_FULLVIEW, NULL, cbs);
                FREE(cbs);
 #else
-               app_launcher("ug-setting-notification-app-notifications-efl");
+               app_control_h service=0;
+               app_control_create(&service);
+               app_control_set_app_id(service,"org.tizen.setting-notification");
+               app_control_set_operation(service, APP_NOTIFICATIONS_OP);
+               app_control_send_launch_request(service, NULL, NULL);
+               app_control_destroy(service);
+
 #endif
 
        }
index f7c247eff726f60859c09ba9790b062280c04d05..2617e886a9a30680c18639d800e814edb496d361 100644 (file)
@@ -400,7 +400,7 @@ setting_security_main_mouse_up_Gendial_list_cb(void *data, Evas_Object *obj,
 
        if (!safeStrCmp(KeyStr_LockScreen, list_item->keyStr)) {
 #if 1
-               if (0 == app_launcher("lockscreen-options")) {
+               if (0 == app_launcher("org.tizen.ug-lockscreen-options")) {
                        /*if (0 == app_launcher("setting-lockscreen-options-efl")) { */
                        ad->update_view_timer = ecore_timer_add(1, __freeze_event_timer_cb, ad);
                        evas_object_freeze_events_set(ad->navi_bar, EINA_TRUE);