Checker for return value in volume_view_slider_value_set
Change-Id: If36636ca518e1ffb2b9e0af769302ec50e8fd2ad
Signed-off-by: mohitkr1 <mohit.kr1@samsung.com>
if (sound_type != SOUND_TYPE_MEDIA)
volume_sound_vconf_status_set(TYPE_VCONF_SOUND_STATUS, 0);
- volume_view_slider_value_set(0);
+ if (VOLUME_ERROR_OK != volume_view_slider_value_set(0))
+ _E("Failed to set slider value");
+
volume_sound_level_set(sound_type, 0);
if (sound_type == SOUND_TYPE_RINGTONE) {