Skip to content

Conversation

@StaehliJ
Copy link
Contributor

@StaehliJ StaehliJ commented Dec 9, 2025

Description

The goal of this PR is to fix CastPlayer.isCastSessionAvailableAsFlow when used with collectAsStateWithLifecycle and the application goes in background without going connecting to a remote session.

Changes made

  • currentPlayer using SharingStarted.Eagerly.

Checklist

  • APIs have been properly documented (if relevant).
  • The documentation has been updated (if relevant).
  • New unit tests have been written (if relevant).
  • The demo has been updated (if relevant).

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Code Coverage

Overall Project 48.11% -0.04% 🟢
Files changed 0% 🟢

Module Coverage
:pillarbox-cast 29.21% -0.37% 🟢
Files
Module File Coverage
:pillarbox-cast CastPlayerSynchronizer.kt 0% -5.76% 🟢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📋 Backlog

Development

Successfully merging this pull request may close these issues.

1 participant