Repository navigation
CarLife: follow the head unit's picture size instead of a fixed size - #131
Merged
Merged
Conversation
Signed-off-by: Riko <symeonchen@gmail.com>
riko2chen
enabled auto-merge
November 30, 2026 16:41
riko2chen
disabled auto-merge
November 30, 2026 16:42
…request as frameSize Signed-off-by: Riko <symeonchen@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the Android Relay part of bd OpenXPlay-8ek0o. When CarLife is primary, or it is enabled without Browser or CarLink before any head unit reports, the Relay treats a saved fixed display mode as automatic for startup, refit, and view-area planning. This mirrors the iOS effective-mode rule for CarLife and preserves the saved choice.
The display observer receives the same main DisplayInfo instance that TranscodingOutput forwards to the Stream hub. Where receiver bounds apply, CarLife adjusts frameSize before both receive the display, so primary detection can use object identity. The refit gate also handles a mismatched canvas when the receiver matches the remembered screen.
The separate Stream CarLife frameSize fix will be pinned on this branch in a follow-up.
Added focused coverage for mode selection, display identity, and refit. Local verification was limited to source and diff review.