Skip to content

Conversation

@Ludevv
Copy link

@Ludevv Ludevv commented Dec 9, 2025

Summary:
Adds overlay workaround for Samsung devices running Android 16 (OneUI 8.0+).

Samsung's Background Battery Analyzer (BBA) suspends the JS runtime when the app window becomes invisible, breaking background playback progress tracking. This fix creates a 1x1 transparent overlay window that keeps the app "visible" to BBA.

Changes:

  • Show/hide overlay when entering/exiting background playback
  • Overlay requires SYSTEM_ALERT_WINDOW permission (handled by app)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants