From 05bc6c7a344c17a90f89556f36074171c251e0e8 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Wed, 8 Jan 2020 15:35:27 +0900 Subject: [PATCH] Fix incorrect parameter of vconf_ignore_key_changed() Change-Id: I6552ee7abf9477b991809f68c6b10284b254b01b --- plugins/wakeup-manager/src/wakeup_settings.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/wakeup-manager/src/wakeup_settings.cpp b/plugins/wakeup-manager/src/wakeup_settings.cpp index 7324838..c7c1142 100644 --- a/plugins/wakeup-manager/src/wakeup_settings.cpp +++ b/plugins/wakeup-manager/src/wakeup_settings.cpp @@ -231,10 +231,13 @@ void CWakeupSettings::initialize() void CWakeupSettings::deinitialize() { - vconf_ignore_key_changed(WAKEUP_SETTINGS_KEY_VOICE_INPUT_LANGUAGE, NULL); - vconf_ignore_key_changed(WAKEUP_SETTINGS_KEY_DEFAULT_ASSISTANT_APPID, NULL); + vconf_ignore_key_changed(WAKEUP_SETTINGS_KEY_VOICE_INPUT_LANGUAGE, + wakeup_setting_input_language_changed_cb); + vconf_ignore_key_changed(WAKEUP_SETTINGS_KEY_DEFAULT_ASSISTANT_APPID, + wakeup_setting_default_assistant_appid_changed_cb); if (true == mMultipleMode) { - vconf_ignore_key_changed(WAKEUP_SETTINGS_KEY_ENABLED_ASSISTANTS, NULL); + vconf_ignore_key_changed(WAKEUP_SETTINGS_KEY_ENABLED_ASSISTANTS, + wakeup_setting_enabled_assistants_changed_cb); } } -- 2.7.4