From 7607dc1bb93a4df66f1416c1a1a662840fc02e5e Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Thu, 27 Jun 2019 14:18:47 +0900 Subject: change for Vui icon display error --- homescreen/src/homescreenvoice.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'homescreen/src/homescreenvoice.cpp') diff --git a/homescreen/src/homescreenvoice.cpp b/homescreen/src/homescreenvoice.cpp index 0c08b5f..edf0654 100644 --- a/homescreen/src/homescreenvoice.cpp +++ b/homescreen/src/homescreenvoice.cpp @@ -223,7 +223,6 @@ void HomescreenVoice::on_event(void *closure, const char *event, struct afb_wsj1 const char* info = json_object_get_string(json_state); const char* eventinfo = json_object_get_string(json_event_str); - const char* warnginfo = "Alexa disconnect!"; if(strcasecmp(eventinfo, HomescreenVoice::event_lists[0].c_str()) == 0){ if (strcasecmp(info, HomescreenVoice::state_lists[0].c_str()) == 0) { if(connect){ @@ -242,7 +241,6 @@ void HomescreenVoice::on_event(void *closure, const char *event, struct afb_wsj1 if (strcasecmp(info, HomescreenVoice::connect_lists[0].c_str()) == 0) { HMI_DEBUG("HomescreenVoice", "connect false!"); connect = false; - emit showInformation(QString(QLatin1String(warnginfo))); } else if (strcasecmp(info, HomescreenVoice::connect_lists[1].c_str()) == 0){ connect = true; -- cgit 1.2.3-korg