From 1124b5f7ed4cadc1faf3d6bce4fa9308843918c7 Mon Sep 17 00:00:00 2001 From: brianjjones Date: Thu, 18 Apr 2013 14:20:25 -0700 Subject: [PATCH] Closes app now when you hit the back button. This is a temp fix to keep media working elsewhere --- src/edc-callback/cam_toolbar_edc_callback.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/edc-callback/cam_toolbar_edc_callback.c b/src/edc-callback/cam_toolbar_edc_callback.c index 4e319e3..a6d594b 100755 --- a/src/edc-callback/cam_toolbar_edc_callback.c +++ b/src/edc-callback/cam_toolbar_edc_callback.c @@ -728,11 +728,13 @@ static void __toolbar_backbutton_cb(void *data, Evas_Object *o, } } +/* TODO: Properly release video and audio when minimizing. Otherwise it keeps other apps from gaining access if(ad->launching_mode == CAM_LAUNCHING_MODE_EXTERNAL) cam_app_exit(ad); else elm_win_lower(ug_get_window()); - +*/ + cam_app_exit(ad); DEBUG_TRACE("END"); } -- 2.7.4