sound: Intialize theme id by default value only when it hasn't been initialized 09/305309/4 accepted/tizen/7.0/unified/20240201.013921
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:24:05 +0000 (16:24 +0900)
commit2e04e2179422dc46823c358c02d3c65eaecf66e3
treee10c92b63489abe57e49a6d22a96389934a52be6
parent020d5492ce8d0f97443fb6a8b36d18c7b5d6ab08
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>
src/sound.c