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

[SetDisplayLayout] - request to change a layout and color scheme #125

Open
KhrystynaDubovyk opened this issue Jun 25, 2019 · 1 comment
Open
Labels

Comments

@KhrystynaDubovyk
Copy link
Contributor

KhrystynaDubovyk commented Jun 25, 2019

The original issue described: smartdevicelink/sdl_core#2955

Background:

  1. A SetDisplayLayout request with the same layout as is currently displayed will result in the current template to change color;

  2. SDL Core should track the number of attempted SetDisplayLayout requests with the current template and REJECT any beyond the first with the reason "Using SetDisplayLayout to change the color scheme may only be done once."

Assumptions:

  1. If an app requests to change color which is already set, SDL must respond with REJECT, i.e app can change colors if it changes templates again;
  2. If in a SetDisplayLayout request the template has not changed, but there is a color scheme in the message, SDL will only accept if there was not a color scheme set previously;
  3. The new layout without a new color scheme should transfer the old color scheme set in the previous layout;
  4. If there is a layout change, the color scheme should change at the same time.
@KhrystynaDubovyk
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant