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

HMI does not update capabilities based on template #586

Closed
jacobkeeler opened this issue Aug 11, 2021 · 1 comment · Fixed by #590
Closed

HMI does not update capabilities based on template #586

jacobkeeler opened this issue Aug 11, 2021 · 1 comment · Fixed by #590

Comments

@jacobkeeler
Copy link
Contributor

When switching templates while an app is subscribed to DISPLAYS system capabilities, the HMI should send an OnSystemCapabilityUpdated message with the new template's capabilities, but instead it sends a static set of capabilities from Abstract/data.js (which also currently have incorrect buttonCapabilities, since they include RC buttons).

Reproduction Steps:

  1. App is registered with MEDIA and NAVIGATION app HMI types
  2. App sends GetSystemCapability(DISPLAYS) with subscribe=true
  3. App sends Show request with templateConfiguration, templateName="NON-MEDIA"

Expected behavior:

App receives SUCCESS response to Show request
App receives OnSystemCapabilityUpdated(DISPLAYS) with the display capabilities for the NON-MEDIA template

Actual behavior:

App receives SUCCESS response to Show request
App receives OnSystemCapabilityUpdated(DISPLAYS) with a set of display capabilities which does not correspond to any template.

@ShobhitAd
Copy link
Contributor

Closed via #590

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 a pull request may close this issue.

2 participants