Fix some volumes to be zero when sound mode change 69/253669/1 tizen_6.0 accepted/tizen/6.0/unified/hotfix/20210217.031904 submit/tizen_6.0/20210216.075550 submit/tizen_6.0/20210217.064908 submit/tizen_6.0_hotfix/20210216.075651
authorkiso.chang <kiso.chang@samsung.com>
Tue, 16 Feb 2021 07:47:47 +0000 (16:47 +0900)
committerkiso.chang <kiso.chang@samsung.com>
Tue, 16 Feb 2021 07:51:06 +0000 (16:51 +0900)
Change-Id: I9f14ec563c56fda7143982368660b9dfb0fd829f
Signed-off-by: kiso.chang <kiso.chang@samsung.com>
setting-profile/src/setting-profile.c

index c40edc2ddcc39e284f351c1d5d5f3d19ae2b8e27..9c6375f50fa1d434b154f8c1d67494aeb84099c9 100644 (file)
@@ -82,8 +82,6 @@ static void _setting_sound_app_resume(void *priv)
                sound_value = TRUE;
 
        (void)sound_manager_get_volume(SOUND_TYPE_RINGTONE, &volume);
-       if (sound_value == FALSE)
-               volume = 0;
        if (sound_data->data_call_volume
                        && sound_data->data_call_volume->eo_check) {
                sound_data->data_call_volume->chk_status = volume;
@@ -92,8 +90,6 @@ static void _setting_sound_app_resume(void *priv)
        }
 
        (void)sound_manager_get_volume(SOUND_TYPE_NOTIFICATION, &volume);
-       if (sound_value == FALSE)
-               volume = 0;
        if (sound_data->data_noti_volume
                        && sound_data->data_noti_volume->eo_check) {
                sound_data->data_noti_volume->chk_status = volume;
@@ -110,8 +106,6 @@ static void _setting_sound_app_resume(void *priv)
        }
 
        (void)sound_manager_get_volume(SOUND_TYPE_SYSTEM, &volume);
-       if (sound_value == FALSE)
-               volume = 0;
        if (sound_data->data_touch_volume
                        && sound_data->data_touch_volume->eo_check) {
                sound_data->data_touch_volume->chk_status = volume;