diff options
author | Raquel Medina <raquel.medina@konsulko.com> | 2019-12-09 18:32:02 +0100 |
---|---|---|
committer | Raquel Medina <raquel.medina@konsulko.com> | 2019-12-12 02:18:37 +0100 |
commit | 0ff12f7c22e2be3238b0c436c08634cd18f5bd06 (patch) | |
tree | 6699d634a1952a62ee4315a71aa60c7405bd48a4 /messageengine.cpp | |
parent | c4e293365c1a16135d49af3bf6de173547326f79 (diff) |
voice: remove vshl-capabilities dependencies
Various fixes for voice component:
- fix incorrect check on vap (voice agent profile) pointers;
- remove dependencies on vshl-capabilities: this module will
communicate via vshl-core api;
- remove dependencis on alexa-voiceagent;
- use a more generic name for cbl related operations. CBL
in this environment is understood as code based
login (for voice agent authorization via user login to a cloud
service), however, in the case of alexa it is known as code
based linking;
- add check for voice_xxx_event eventdata which in ocasions
is an empty object, i.e., the payload is missing.
Bug-AGL: SPEC-2981
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Icaab7a21bedb3e2696d541567162ec46b047a305
Diffstat (limited to 'messageengine.cpp')
-rw-r--r-- | messageengine.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/messageengine.cpp b/messageengine.cpp index 1261339..d4413e5 100644 --- a/messageengine.cpp +++ b/messageengine.cpp @@ -140,13 +140,7 @@ void MessageEngine::onTextMessageReceived(QString jsonStr) message = new MapMessage; type = MapEventMessage; } else if (api == "vshl-core" ) { - message = new VshlCoreVoiceMessage; - type = VoiceEventMessage; - } else if (api == "vshl-capabilities") { - message = new VshlCpbltsVoiceMessage; - type = VoiceEventMessage; - } else if (api == "alexa-voiceagent") { - message = new AlexaVoiceMessage; + message = new VoiceMessage; type = VoiceEventMessage; } else if (api == "signal-composer") { message = new SignalComposerMessage; |