feedback: Change feedback theme index handling to id-base 24/301124/3
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 7 Nov 2023 10:16:42 +0000 (19:16 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 10 Nov 2023 04:54:54 +0000 (13:54 +0900)
commitd7584eddf306db3fd1ab215f38c4b77697427a96
tree802fb8ecd47b93e1b058378fe7573320a7075a3c
parent8f127fe783917261a667a80bc06dd66e8b14547d
feedback: Change feedback theme index handling to id-base

Previously, the feedback theme was dealt with based on index.
As handling policy is changed, feedback theme can be selected through id.
Feedback themes are no longer treated sequentially, also not dependent on index.
It is managed through a unique id.

Change-Id: I7556e7d877c106f9a311bed1558cddf0ff61dcc9
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
15 files changed:
CMakeLists.txt
common/data/sound-theme1.conf [new file with mode: 0644]
common/data/sound.conf
include/feedback-internal.h
src/devices.h
src/feedback.c
src/sound-parser.c [new file with mode: 0644]
src/sound-parser.h [new file with mode: 0644]
src/sound-theme-manager.c [new file with mode: 0644]
src/sound-theme-manager.h [new file with mode: 0644]
src/sound.c
src/vibrator.c
tests/main.c
tests/test-feedback-internal.c
tests/test-feedback-internal.h