aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/homescreenvoice.cpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-27 14:18:47 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-27 14:18:47 +0900
commit7607dc1bb93a4df66f1416c1a1a662840fc02e5e (patch)
tree316afc2d131eb05d40f763b639a0368e88202b9a /homescreen/src/homescreenvoice.cpp
parentc8193621f75bcf66720cd8bccedd55a00d4e0e24 (diff)
change for Vui icon display error
Diffstat (limited to 'homescreen/src/homescreenvoice.cpp')
-rw-r--r--homescreen/src/homescreenvoice.cpp2
1 files changed, 0 insertions, 2 deletions
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;