sound: Remove set_theme_id() from id initialization 94/308494/1 accepted/tizen/unified/20240327.141644 accepted/tizen/unified/x/20240401.142435
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 20 Feb 2024 02:43:13 +0000 (11:43 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 26 Mar 2024 09:52:04 +0000 (18:52 +0900)
commitf4f83ffdb8624f754e2b2f0de29ae21fe08afe29
tree490dc675ff4f6e25ec558546aae58200046c649d
parent4152694f1e0788ae7f74d2c799482ae88489daca
sound: Remove set_theme_id() from id initialization

When the sound current_theme_id is initialized,
there is no need to call sound_set_theme_id().
Because sound_set_theme_id() calls vconf_set_int(),
this requires privilege "http://tizen.org/privilege/systemsettings.admin" when it call for
VCONFKEY_SETAPPL_ACCESSIBILITY_SOUND_FEEDBACK_THEME.
That makes all apps have that privilege during sound init process.
Thus, this function usage is removed.

Current theme id policy is as follows.

1. If there is a set vconf value, current theme id follows that value.
2. It there is no set vconf value, current theme id will be default theme id by sound conf parsing.

Change-Id: Ie526151a993006793902bb502f915d8b94c996b3
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/sound.c