diff options
author | Jim-Nexty <35795928+zhouxin627@users.noreply.github.com> | 2020-07-01 02:56:14 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 13:56:14 -0400 |
commit | 0330f350872671f59e66394a54416cf654c72dbb (patch) | |
tree | 618dc65a1b45e06909e2f074c0b94d9c0b2bd331 /src | |
parent | ab5604731c6445776081f8f9e053a031545f9167 (diff) | |
download | sdl_core-0330f350872671f59e66394a54416cf654c72dbb.tar.gz |
Fix 3119 bug:App gets REJECTED instead of UNSUPPORTED_RESOURCE to ChangeRegistration with not supported language (#3427)
Co-authored-by: zhangwenqin <zhangwenqin@iauto.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/change_registration_request.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/change_registration_request.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/change_registration_request.cc index 50217a9c8a..19584fb055 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/change_registration_request.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/change_registration_request.cc @@ -177,7 +177,7 @@ void ChangeRegistrationRequest::Run() { IsLanguageSupportedByVR(language) && IsLanguageSupportedByTTS(language))) { LOG4CXX_ERROR(logger_, "Language is not supported"); - SendResponse(false, mobile_apis::Result::REJECTED); + SendResponse(false, mobile_apis::Result::UNSUPPORTED_RESOURCE); return; } |