From: hhh.kwon Date: Mon, 17 Jun 2013 10:31:22 +0000 (+0900) Subject: Fix N_SE-41484 : Volume level is not changed. X-Git-Tag: submit/tizen_2.2/20130714.152739~12^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d9fd9409a674d6f4275c0741be3b1298581334b;p=apps%2Fhome%2Fvolume-app.git Fix N_SE-41484 : Volume level is not changed. --- diff --git a/src/_logic.c b/src/_logic.c index 8fb7154..10ae4f0 100755 --- a/src/_logic.c +++ b/src/_logic.c @@ -252,6 +252,11 @@ Eina_Bool _volume_show(void *data) { _rotate_func(ad); elm_win_indicator_mode_set(ad->win, ELM_WIN_INDICATOR_HIDE); + + /* set type once when volume app shows */ + ad->type = _get_volume_type(); + ad->step = _get_step(ad->type); + evas_object_show(ad->win); if(syspopup_has_popup(ad->volume_bundle)) syspopup_reset(ad->volume_bundle); diff --git a/src/_sound.c b/src/_sound.c index 8bd8f58..08b3142 100755 --- a/src/_sound.c +++ b/src/_sound.c @@ -201,8 +201,6 @@ void _mm_func(void *data) retm_if(ad->win == NULL, "Failed to get window\n"); /* function could be activated when window exists */ - ad->type = _get_volume_type(); - ad->step = _get_step(ad->type); mm_sound_route_get_playing_device(&device); mm_sound_volume_get_value(ad->type, (unsigned int*)(&val));