From: Priya Kohli Date: Tue, 23 Apr 2019 05:52:40 +0000 (+0530) Subject: [TBT][volume][NonACR][TFDF-1655, Slider bar not changing after some activities] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfe201df6e61d9f1ee8da1d3737bac842f71aa7a;p=test%2Ftct%2Fnative%2Fbehavior.git [TBT][volume][NonACR][TFDF-1655, Slider bar not changing after some activities] Change-Id: I3384a517b5144cbcafc2c43fe881f5102a65fe70 Signed-off-by: Priya Kohli --- diff --git a/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk b/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk index cd473ac..547e392 100755 Binary files a/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk and b/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk differ diff --git a/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk b/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk index 3575194..fb6d343 100755 Binary files a/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk and b/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk differ diff --git a/tbtcoreapp/src/view/tbt-sound-view.c b/tbtcoreapp/src/view/tbt-sound-view.c index 3b1f243..c36a727 100644 --- a/tbtcoreapp/src/view/tbt-sound-view.c +++ b/tbtcoreapp/src/view/tbt-sound-view.c @@ -394,8 +394,7 @@ static void start_player(sound_view *this) if(((get_device_type() == DEVICE_WEARABLE_216_432)||(get_device_type() == DEVICE_WEARABLE_360_360)) && this->view->tbt_info->apptype == TBT_APP_SOUND_VOLUME){ if (this->progressbar_timer) ecore_timer_del(this->progressbar_timer); - else - this->progressbar_timer = ecore_timer_add(0.1, __progressbar_timer_cb, this); + this->progressbar_timer = ecore_timer_add(0.1, __progressbar_timer_cb, this); } } } @@ -424,7 +423,8 @@ static void stop_player(sound_view *this) RETM_IF(PLAYER_ERROR_NONE!=ret, "player_stop failed:%s", get_player_error(ret)); ret = player_set_display_visible(this->player, false); RETM_IF(PLAYER_ERROR_NONE!=ret, "player_set_display_visible failed:%s", get_player_error(ret)); - } + ecore_timer_del(this->progressbar_timer); + } } } @@ -450,6 +450,7 @@ static void pause_player(sound_view *this) { ret = player_pause(this->player); RETM_IF(PLAYER_ERROR_NONE!=ret, "player_pause failed:%s", get_player_error(ret)); + ecore_timer_del(this->progressbar_timer); } } }