From: brianjjones Date: Thu, 18 Apr 2013 21:20:25 +0000 (-0700) Subject: Closes app now when you hit the back button. This is a temp fix to keep media workin... X-Git-Tag: accepted/2.0/20130418.205817^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=profile%2Fivi%2Fug-camera-efl.git Closes app now when you hit the back button. This is a temp fix to keep media working elsewhere --- 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"); }