Merge "Add more logs for checking wakeup process" into tizen
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 12 Aug 2019 11:55:43 +0000 (11:55 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Mon, 12 Aug 2019 11:55:43 +0000 (11:55 +0000)
plugins/wakeup-manager/src/wakeup_manager.cpp
plugins/wakeup-manager/src/wakeup_settings.cpp
src/multi_assistant_service_plugin.c

index 7b5f62c..bd7205a 100644 (file)
@@ -405,6 +405,7 @@ bool CWakeupManager::process_event(ma_plugin_event_e event, void* data, int len)
 
                        string appid = mWakeupSettings.get_default_assistant_appid();
                        event_info.wakeup_appid = appid.c_str();
+                       MWR_LOGD("wakeup_appid : %s", event_info.wakeup_appid);
 
                        set_last_wakeup_event_info(event_info);
                        for (const auto& observer : mObservers) {
index f53cf77..0787f09 100644 (file)
@@ -134,6 +134,7 @@ string CWakeupSettings::get_default_assistant_appid()
 {
        char *vconf_str;
        vconf_str = vconf_get_str(WAKEUP_SETTINGS_KEY_DEFAULT_ASSISTANT_APPID);
+       MWR_LOGD("default_assistant_appid : %s", vconf_str);
        if (vconf_str) {
                mDefaultAssistantAppid = vconf_str;
                MWR_LOGD("default_assistant_appid : %s", mDefaultAssistantAppid.c_str());
index 5f9c8f1..cd2fa8d 100644 (file)
@@ -96,7 +96,7 @@ Eina_Bool __send_result(void *data)
 
 Eina_Bool __launch_assistant_by_wakeup_appid_timer(char* appid)
 {
-       MAS_LOGD("[ENTER]");
+       MAS_LOGD("[ENTER] appid(%s)", appid);
 
        int pid = -1;
        if (!appid) return ECORE_CALLBACK_CANCEL;