summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerasym Oleh <oolleehh@gmail.com>2016-01-25 09:58:50 +0200
committerHerasym Oleh <oolleehh@gmail.com>2016-01-28 13:54:40 +0200
commitbe534e088a083530c6e2261e54023101fc8faf39 (patch)
tree70e79ddee6c8e491dc17a82f0bc190aecc0c7420
parent58dafada90a5fc8bc9de50069d0b99d61fca511b (diff)
downloadsmartdevicelink-be534e088a083530c6e2261e54023101fc8faf39.tar.gz
Add DeleteChoices to ontimeOut
Fix defect: SDL doesn't send VR.DeleteCommand to HMI in case ChoiceSet commands and HMI sends a VR.AddCommand responses with error Related: APPLINK-17652
-rw-r--r--src/components/application_manager/src/commands/mobile/create_interaction_choice_set_request.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/application_manager/src/commands/mobile/create_interaction_choice_set_request.cc b/src/components/application_manager/src/commands/mobile/create_interaction_choice_set_request.cc
index 813f55091..60ba1316d 100644
--- a/src/components/application_manager/src/commands/mobile/create_interaction_choice_set_request.cc
+++ b/src/components/application_manager/src/commands/mobile/create_interaction_choice_set_request.cc
@@ -408,6 +408,7 @@ void CreateInteractionChoiceSetRequest::onTimeOut() {
if (!error_from_hmi_) {
SendResponse(false, mobile_apis::Result::GENERIC_ERROR);
}
+ DeleteChoices();
// We have to keep request alive until receive all responses from HMI
// according to SDLAQ-CRS-2976