Append custom wakeup words instead of replacing 85/306285/1 tizen_8.0
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 19 Feb 2024 12:17:44 +0000 (21:17 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 19 Feb 2024 12:20:43 +0000 (21:20 +0900)
Change-Id: I2a6d3686dd15efda880312570b7328bed67b85dd

src/service_config.cpp

index 788d7c1..cfcfeb1 100644 (file)
@@ -328,9 +328,6 @@ int CServiceConfig::load_custom_wake_words(const char* app_id,
 {
        const char delimeter = '|';
 
-       wakeup_word_storage.clear();
-       wakeup_language_storage.clear();
-
        /* Add 1 for additional pipe character */
        char wakeup_words[MAX_WAKEUP_WORDS_NUM * (MAX_WAKEUP_WORD_LEN + 1)];
        char wakeup_languages[MAX_WAKEUP_WORDS_NUM * (MAX_SUPPORTED_LANGUAGE_LEN + 1)];