Skip to content
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

do not set language and hmiDisplayLanguage in RAI response when these are not valid #2231

Closed
wants to merge 1 commit into from

Conversation

t-yoshii
Copy link

@t-yoshii t-yoshii commented Jun 4, 2018

Fixes #2230

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

I tested this fix in our internal devboard HU and testing iOS SDL app.

Summary

Do not set language and hmiDisplayLanguage in RAI response when these are not valid instead of being set to -1. -1 is the raw value of INVALID_ENUM.

SDL iOS proxy expects string value for language, therefore crash may occur when it receives integer value (-1).

Changelog

Bug Fixes
  • do not set language and hmiDisplayLanguage in RAI response when these are not valid

CLA

@JenkinsSDLOnCloud
Copy link

Can one of the admins verify this patch?

@iCollin
Copy link
Collaborator

iCollin commented Jun 12, 2020

Closed in favor of #3435 as edited file no longer exists.

@iCollin iCollin closed this Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants