From: jomui Date: Thu, 5 Jan 2017 09:09:13 +0000 (+0900) Subject: fix vconf value for onPause X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=404df44e438fbdfb6b91dece12839bef5c51ca3d;p=platform%2Fcore%2Flocation%2Fmaps-plugin-here.git fix vconf value for onPause Signed-off-by: jomui --- diff --git a/heremaps-uc/src/heremaps-uc.c b/heremaps-uc/src/heremaps-uc.c index 48c2130..1ceca9e 100644 --- a/heremaps-uc/src/heremaps-uc.c +++ b/heremaps-uc/src/heremaps-uc.c @@ -273,12 +273,9 @@ static void _app_terminate_cb(void *user_data) static void _app_pause_cb(void *user_data) { LS_FUNC_ENTER - //minseo.park:Sep 20, 2016:HERE UC launcher is hidden type app. So never be managed by applicaiton manager. - // So when paused by other event, should exit. And have to set vconfkey for notifing to caller application. - int enabled = 0; - vconf_get_int(VCONFKEY_LOCATION_HEREMAPS_CONSENT, &enabled); - save_vconf(enabled); + save_vconf(0); + elm_exit(); }