Add more logs for checking wakeup process 27/211927/2
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 0eaeb2c8983b2ab2f35d9959bad4f7b10ad9ce0d..ddf10070fe6bf5097b45da72072549a524fb185b 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 f53cf775c327f4e9ea7b912d7814f9c1c30e7b5b..0787f09f9da49d98070c89af9120bdfae2f4ac8a 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 1669d345c70720a64ac18f35432119e6a92318e4..198f549378120d2059b96ec520f96b809a16033e 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;