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

Remove logic sending invalid slider position #3697

Merged
merged 1 commit into from
May 14, 2021

Conversation

jacobkeeler
Copy link
Contributor

@jacobkeeler jacobkeeler commented May 10, 2021

Fixes #3676

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Manual testing against SDL HMI PR (smartdevicelink/sdl_hmi#564), app should receive sliderPosition in ABORTED or TIMED_OUT response for Slider if provided by the HMI.

Summary

sliderPosition was being set to 0 (an invalid value) in the mobile response for Slider if an ABORTED or TIMED_OUT result was received from the HMI without this parameter. This PR removes that logic.

Changelog

Bug Fixes
  • Fix invalid response when sending ABORTED or TIMED_OUT response to Slider request

CLA

sliderPosition was set to 0 (an invalid value) in the mobile response if an ABORTED result was received from the HMI without this parameter.
@Jack-Byrne
Copy link
Collaborator

@jacobkeeler Do you think we might need to add documentation to the integration guidelines or update the HMI API description to note that TIMEOUT and ABORTED result codes that include the slider position must be sent in a success response format?

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.

2 participants