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

Fix some RemoteControlCapabilities parameters having the wrong type #1444

Conversation

joeljfischer
Copy link
Contributor

@joeljfischer joeljfischer commented Oct 15, 2019

Fixes #1441

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Unit tests performed

Summary

This PR alters the internals of getting and setting two RemoteControlCapabilities parameters so that what is typed in the sdl_ios library will work with the RPC spec even though they diverge.

Changelog

Bug Fixes
  • Fix SDLRemoteControlCapabilities.lightControlCapabilities and SDLRemoteControlCapabilities.hmiSettingsControlCapabilities to not crash when getting the parameter from Core, and to properly send the value to Core.

CLA

* Fix type of `lightControlCapabilities` and `hmiSettingsControlCapabilities` by wrapping in an array
@joeljfischer joeljfischer added the bug A defect in the library label Oct 15, 2019
@joeljfischer joeljfischer self-assigned this Oct 15, 2019
@joeljfischer joeljfischer added this to In progress in v6.4 via automation Oct 15, 2019
v6.4 automation moved this from In progress to Reviewer approved Oct 16, 2019
@joeljfischer joeljfischer merged commit 9d5bafc into develop Oct 16, 2019
v6.4 automation moved this from Reviewer approved to Done Oct 16, 2019
@joeljfischer joeljfischer deleted the bugfix/issue-1441-remotecontrolcapabilities-incorrect-type branch October 16, 2019 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
No open projects
v6.4
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants