-
Notifications
You must be signed in to change notification settings - Fork 244
Fixed vrSynonyms and ttsName content in SystemRequest(QUERY_APPS) #2705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed vrSynonyms and ttsName content in SystemRequest(QUERY_APPS) #2705
Conversation
…d upper bound values in json file
|
@Ypostolov Please update this PR to include changes from the latest develop |
…me_vrSynonyms_ttsName_case_of_bound_values_in_json
|
@ShobhitAd Please find update in 49a4ec9 |
src/components/application_manager/src/application_manager_impl.cc
Outdated
Show resolved
Hide resolved
src/components/application_manager/src/application_manager_impl.cc
Outdated
Show resolved
Hide resolved
…l.cc Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
…l.cc Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
|
@ShobhitAd File updated. Please check. |
| json::ttsName)) { | ||
| SDL_LOG_DEBUG("Get ttsName from default language"); | ||
| ttsName = | ||
| app_data[json::languages][default_idx][json::default_][json::ttsName]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ypostolov Please notice ttsName is an array according to the https://github.com/smartdevicelink/sdl_core/tree/develop/src/components/interfaces/HMI_API.xml#L2914.
However within fix we got non-array value, e.g.
"ttsName": "A",
In Json file it's defined as non-array, but it looks like we need to convert it to array with single element.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dboltovskyi
Fixed in ce8706b.
Please check regression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ypostolov Thank you for update, - it works.
Fixes #977
This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan
Covered by ATF script.
Summary
There was an issue SDL sends in BC.UpdateAppList in vrSynonyms and ttsName values taken from applications name. Was added logic to apply vrSynonyms and ttsName values from the json file in case when only default language settings are present.
CLA