Skip to content

Conversation

@crokita
Copy link
Contributor

@crokita crokita commented Mar 8, 2021

Fixes #396

Risk

This PR makes no API changes. (Choice Set is not part of an official release yet)

Testing Plan

  • I have verified that I have not introduced new warnings in this PR (or explain why below)
  • I have verified that this PR passes lint validation
  • I have run the unit tests with this PR
  • I have tested this PR against Core and verified behavior (if applicable, if not applicable, explain why below).

Unit Tests

Includes tests to check sanitization of timeout values

Summary

Adds better checks to setting and getting the choice set timeouts. Also includes a missing default timeout parameter in the choice set class and adds tests for those. Timeout values will now behave well when attempting to get their values.

@crokita
Copy link
Contributor Author

crokita commented Mar 12, 2021

New changes needed for AlertView to align with ChoiceSet. Changes are based on the iOS equivalent class AlertView - https://github.com/smartdevicelink/sdl_ios/blob/develop/SmartDeviceLink/public/SDLAlertView.m

@crokita crokita merged commit 698e7d4 into develop Mar 12, 2021
@crokita crokita deleted the bugfix/choice-set-timeouts branch March 26, 2021 13:52
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.

Fix Setting Choice Set Timeouts

3 participants