From: dyamy-lee Date: Thu, 26 Sep 2024 10:49:46 +0000 (+0900) Subject: checked return of deactivateDuckingAll X-Git-Tag: accepted/tizen/unified/20240930.043752~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9eb6575d3a6c49a7277bc126ece11364e450ced9;p=platform%2Fcore%2Fuifw%2Ftts.git checked return of deactivateDuckingAll When BackgroundVolume Object destructor called, if deactivateDuckingAll is failed, it trys one more time. In that case, previous it didn't check the result, but now, it checks the result as log. Change-Id: Idef650ddbda17ff96c92547fda7f671974afd8ca --- diff --git a/server/BackgroundVolume.cpp b/server/BackgroundVolume.cpp index 69542cf2..9c6ebb99 100644 --- a/server/BackgroundVolume.cpp +++ b/server/BackgroundVolume.cpp @@ -64,7 +64,8 @@ BackgroundVolume::~BackgroundVolume() if (false == deactivateDuckingAll()) { SLOG(LOG_WARN, tts_tag(), "[BackgroundVolume] Unknown ducking deactivation failure. One last trial"); - deactivateDuckingAll(); + bool ret = deactivateDuckingAll(); + SLOG(LOG_WARN, tts_tag(), "[BackgroundVolume] Checked the result of trying to deactivateDuckingAll() once more. (%d)", ret); } if (nullptr != mPostponedModifyTimer) {