Skip to content

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

@KhrystynaDubovyk

Description

@KhrystynaDubovyk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions