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/hmi doesnt update timeout prompt #606

Conversation

ValeriiMalkov
Copy link
Contributor

Fixes #599

This PR is ready] for review.

Testing Plan

Manual testing

Summary

The problem was requesting UI.PI after resetting the timeout. The timeout request did not update the timer.
Added an additional variable to save the timeout for the timeout prompt and the ability to reset it

CLA

ValeriiMalkov and others added 2 commits September 7, 2021 13:19
…eout_prompt

Fixed issue: HMI does not update the timeout for timeoutPrompt during…
@ValeriiMalkov
Copy link
Contributor Author

Hi @theresalech This is a regression issue (related to OnResetTimeout feature) and PR is ready for Livio team review

@@ -791,6 +791,8 @@ SDL.SDLController = Em.Object.extend(
);
SDL.SDLModel.data.set('interactionData.vrHelpTitle', null);
SDL.SDLModel.data.set('interactionData.vrHelp', null);
clearTimeout(SDL.SDLModel.promptTimeout);
SDL.SDLModel.set('timeoutPromprtCallback', undefined);
Copy link
Collaborator

@iCollin iCollin Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
SDL.SDLModel.set('timeoutPromprtCallback', undefined);
SDL.SDLModel.set('timeoutPromptCallback', undefined);

@ValeriiMalkov could you please update the typo in this variable name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iCollin Fixed in 9198805

@iCollin iCollin merged commit 9812a79 into smartdevicelink:release/5.6.0 Sep 15, 2021
@LitvinenkoIra LitvinenkoIra deleted the fix/hmi_doesnt_update_timeout_prompt branch September 15, 2021 13:59
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