[TIZENIOT-2066] Fixed issue regarding not able to play video files from gallery 36/252136/1
authormohitkr1 <mohit.kr1@samsung.com>
Wed, 11 Nov 2020 04:21:21 +0000 (09:51 +0530)
committerMohit Kumar <mohit.kr1@samsung.com>
Sat, 23 Jan 2021 06:07:32 +0000 (06:07 +0000)
Change-Id: I369ac2de61a143b38cf725cda5b45cd129bc7ffe
Signed-off-by: mohitkr1 <mohit.kr1@samsung.com>
(cherry picked from commit 611ef6559910a704f7ef4d2a8816020849a7a868)
(cherry picked from commit 17bd27229c26aeab1a5a60aaf5289049ac98953f)

src/main/control/ivug-ext-ug.c

index 87105c1e8faae9ad0b15c92e9e36d07d7f73a0c8..9595090a3794306c8ca8b0a29a1ae3d2303950d5 100644 (file)
@@ -107,6 +107,12 @@ bool ivug_ext_launch_videoplayer(const char *uri, bool isLockScreen)
                return false;
        }
 
+       ret = app_control_set_app_id(handle, "org.tizen.video-player");
+       if (ret != APP_CONTROL_ERROR_NONE) {
+               MSG_IMAGEVIEW_ERROR("app_control_set_operation failed, 0x%08x", ret);
+               goto VIDEO_PLAYER_END;
+       }
+
        ret = app_control_set_operation(handle, APP_CONTROL_OPERATION_VIEW);
        if (ret != APP_CONTROL_ERROR_NONE) {
                MSG_IMAGEVIEW_ERROR("app_control_set_operation failed, 0x%08x", ret);