From: jomui Date: Thu, 5 Jan 2017 09:12:44 +0000 (+0900) Subject: fix vconf value for onPause status X-Git-Tag: accepted/tizen/common/20170105.172557^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F108641%2F1;p=platform%2Fcore%2Flocation%2Fmaps-plugin-here.git fix vconf value for onPause status Signed-off-by: jomui Change-Id: Ibb7f284b1b5b5a6bd84f9f22b40b419981856b1f --- 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(); }