sound: Intialize theme id by default value only when it hasn't been initialized 17/305317/1
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 31 Jan 2024 06:29:11 +0000 (15:29 +0900)
committeryoungjae cho <y0.cho@samsung.com>
Wed, 31 Jan 2024 07:40:19 +0000 (07:40 +0000)
commit4fec93587ad289105225d6b3e77685028717ed63
tree368dd9eec450e5d50137437c4bd924d75b7107d3
parent6760d05f4503917361ec5fd2371a435720654874
sound: Intialize theme id by default value only when it hasn't been initialized

It is necessary to keep the previous theme id if it once has been
initialized to the valid value. Otherwise, it will always be reset
to the default theme id, overwriting the previous valid theme id.

Change-Id: Ie5ba57820f31e5718bb4951ba918781ebd6fa263
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit 2e04e2179422dc46823c358c02d3c65eaecf66e3)
src/sound.c