From 9d9fd9409a674d6f4275c0741be3b1298581334b Mon Sep 17 00:00:00 2001 From: "hhh.kwon" Date: Mon, 17 Jun 2013 19:31:22 +0900 Subject: [PATCH] Fix N_SE-41484 : Volume level is not changed. --- src/_logic.c | 5 +++++ src/_sound.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) 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)); -- 2.7.4