Add more logs for checking wakeup process
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 12 Aug 2019 05:59:31 +0000 (14:59 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 12 Aug 2019 08:06:38 +0000 (17:06 +0900)
Change-Id: Idd593c34efc1ee9f1c3dd5eb759c12e2f2f6a801

plugins/wakeup-manager/src/wakeup_manager.cpp
plugins/wakeup-manager/src/wakeup_settings.cpp
src/multi_assistant_service_plugin.c

index 0eaeb2c..ddf1007 100644 (file)
@@ -403,6 +403,7 @@ bool CWakeupManager::process_event(ma_plugin_event_e event, void* data, int len)
 
                        static 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 1669d34..198f549 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;