Retry ducking deactivation when it is failed 83/304383/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 16 Jan 2024 13:12:35 +0000 (22:12 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 16 Jan 2024 13:12:35 +0000 (22:12 +0900)
commitcc9a2a9f28b1b16dcb4c88ed3f62f6fe601d035b
treea16bad1f2d4e436b36c04c1c609552c3073e8eb3
parentb553874efef99101e2052038956332bf1f010cc4
Retry ducking deactivation when it is failed

- Issue:
Sometimes ducking deactivation can be failed and does not recovered.

- Solution:
This patch adds the logic for retrying ducking deactivation if the
deactivation is failed. In most case, deactivation is not failed because
previous logic also calcualtes the ducking duration. However, some
unknown reason, deactivation can be failed. So this patch makes the
framework handle this situation.

Change-Id: I2fa72eafa5d095b1a44dd9aadc281cfcb16429c4
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/BackgroundVolume.cpp
server/BackgroundVolume.h