diff options
author | Yunhee Seo <yuni.seo@samsung.com> | 2023-08-17 14:55:16 +0900 |
---|---|---|
committer | Yunhee Seo <yuni.seo@samsung.com> | 2023-08-21 14:30:51 +0900 |
commit | 513f9e2d31a13ca76b9670f527b4a33c88e591cb (patch) | |
tree | 0a4ade13b0ef2194c04509a77bf1e84691140150 /include | |
parent | c4df1938229e90d794ea139c2369a717975ca7f1 (diff) | |
download | libsvi-513f9e2d31a13ca76b9670f527b4a33c88e591cb.tar.gz libsvi-513f9e2d31a13ca76b9670f527b4a33c88e591cb.tar.bz2 libsvi-513f9e2d31a13ca76b9670f527b4a33c88e591cb.zip |
sound: Fix multi-theme start index with 0
In the previous multi-theme support implementation,
default index was different according to multi-theme or single theme.
However default sound theme index should start with 0 to maintain consistency.
User should use index "1~N", and that index will be converted to 0~N-1 in intenral implementation.
Start index will be 0 in terms of implementation.
Change-Id: I8549d2039c399e875ace7c06303bb4d1fd10febb
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/feedback-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/feedback-internal.h b/include/feedback-internal.h index 559196e..c7b03da 100755 --- a/include/feedback-internal.h +++ b/include/feedback-internal.h @@ -192,6 +192,8 @@ int feedback_get_theme_index_internal(feedback_type_e feedback_type, unsigned in /** * @brief Sets the current index of theme. * @details This function sets the index of theme. + * The range of theme index will be 1~N according to conf file. + * Please put the accurate index_of_theme value. * @since_tizen 8.0 * @param[in] type The feedback type * @param[in] index_of_theme The index of theme will be selected |