[TSAM-10965] Unable to open camera with quick launch function 50/102750/1
authorjunkyu han <junkyu.han@samsung.com>
Tue, 6 Dec 2016 11:14:51 +0000 (20:14 +0900)
committerjunkyu han <junkyu.han@samsung.com>
Tue, 6 Dec 2016 11:14:51 +0000 (20:14 +0900)
Change-Id: Id38736c0c7c9029e9dfea5980813f0557358c023

src/mobile/hw_key.c

index 7d151f4..5780b8e 100644 (file)
@@ -641,6 +641,8 @@ static Eina_Bool _delay_timer_cb(void *data)
 
 #define HOME_OP_KEY "__HOME_OP__"
 #define HOME_OP_VAL_LAUNCH_BY_HOME_KEY "__LAUNCH_BY_HOME_KEY__"
+#define CAMERA_OP_KEY "CALLER"
+#define CAMERA_OP_VAL "starter"
 static void _launch_app_by_type(int type)
 {
        int op = 0;
@@ -666,7 +668,7 @@ static void _launch_app_by_type(int type)
                _D("Quick launch status : %d", op);
 
                if (op == 1) {
-                       process_mgr_must_launch(APPID_CAMERA, NULL, NULL, NULL, NULL);
+                       process_mgr_must_launch(APPID_CAMERA, CAMERA_OP_KEY, CAMERA_OP_VAL, NULL, NULL);
                }
                break;
        case LAUNCH_BY_QUICK_LAUNCH_ON_LOCK: