summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormohitkr1 <mohit.kr1@samsung.com>2020-03-18 15:51:28 +0530
committerMohit Kumar <mohit.kr1@samsung.com>2020-03-18 10:22:31 +0000
commita4ae913f2cb85a25fb0cabe289af5419566aab8d (patch)
treed1581ae3e803a2477a114e0248cd6ec9946510b0
parent836c8a855e66950e89bf6600fe6e11019b1e87a5 (diff)
downloadvolume-app-a4ae913f2cb85a25fb0cabe289af5419566aab8d.tar.gz
volume-app-a4ae913f2cb85a25fb0cabe289af5419566aab8d.tar.bz2
volume-app-a4ae913f2cb85a25fb0cabe289af5419566aab8d.zip
Checker for return value in volume_view_slider_value_set Change-Id: I8dd99be82ce2e130da0114c936dbd4e575d193e7 Signed-off-by: mohitkr1 <mohit.kr1@samsung.com>
-rwxr-xr-xsrc/sound.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sound.c b/src/sound.c
index 188ac16..e27ce2b 100755
--- a/src/sound.c
+++ b/src/sound.c
@@ -233,7 +233,9 @@ void volume_sound_change_set(int val)
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) {