-
Notifications
You must be signed in to change notification settings - Fork 103
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
Primary Graphic not sent to SDL Core for Media Template #1152
Comments
This is a bug with the head unit. They are sending a |
It was requested that this issue is reopened during the Steering Committee meeting on 2020-11-10. Ford shared new details about this issue:
The PM noted that to resolve this issue, we will need to create a special case in the open source SDL library for Ford head units, and will respond on the issue with more information. Given the number of special cases already created, it was suggested that we also discuss having a broader system for handling special cases in a generic way for OEMs to update on their own, with a compatibility library for example. |
@ashwink11 It was requested in the Steering Committee meeting on 2020-12-01 by your team that I follow up with you on this issue. Are there any new details that you can share with us about this issue (or any details that were missed in the update on 2020-11-10)? |
Hi @jordynmackool. I will try to respond on behalf of Ashwin as he is not in the office. The issue is seen with media apps on Ford systems that are running software prior to the most recent Ford SYNC software version. As of today this means almost all vehicles on the road. The
I understand the motivation of the suggestion allowing OEMs to e.g. create a compatibility library but I'm afraid it'll take a lot of time until we identified a reasonable solution for this streamlined approach. We appreciate this issue to be handled similar to previous cases allowing app partners to continue their work while we discuss the broader system. My suggestion is to add hooks to the sdl libs where OEM specific compat libs could connect to. The hooks can be |
I'm okay with this. I think this can be handled in a custom class / object that hooks into the |
Steering Committee update from the meeting on 2021-03-16: A fix for this issue did not make it into the April 14, 2021 release as testing began on 2021-03-15, Livio to prioritize this issue for a future release. |
Primary Graphic not sent to SDL Core
Primary Graphic and text updated using Screen Manager, however only text gets updated
Reproduction Steps
Expected Behavior
Text and graphic should be updated
Observed Behavior
Only text is updated. Screen manager somehow determines that there is no image to update.
11:24:42:777 ⚪ VERBOSE com.apple.main-thread (SDL)Screen/TextAndGraphic:SDLTextAndGraphicManager:-[SDLTextAndGraphicManager sdl_updateWithCompletionHandler:]:162 - No images to send, sending text
OS & Version Information
Comments
the function sdl_shouldUpdatePrimaryImage in SDLTextAndGraphicManager.m has a check for [self.displayCapabilities hasImageFieldOfName:SDLImageFieldNameGraphic] and that's returning YES initially but NO later.
If Media app sends Setdisplaylayout with Media template or default. hasGraphic check in sdl_shouldUpdatePrimaryImage fails.
SDLSetDisplayLayout *setDisplayLayout = [[SDLSetDisplayLayout alloc] initWithPredefinedLayout:SDLPredefinedLayoutMedia];
[self.sdlManager sendRequest:setDisplayLayout];
The text was updated successfully, but these errors were encountered: