Skip to content

Add overlay workaround for Samsung BBA on Android 16 - #3

Merged
Ludevv merged 1 commit into
ds-custom-forkfrom
fix-samsung-android16-bba-workaround
Dec 12, 2025
Merged

Add overlay workaround for Samsung BBA on Android 16#3
Ludevv merged 1 commit into
ds-custom-forkfrom
fix-samsung-android16-bba-workaround

Conversation

@Ludevv

@Ludevv Ludevv commented Dec 9, 2025

Copy link
Copy Markdown

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)

@Ludevv
Ludevv merged commit 28045f6 into ds-custom-fork Dec 12, 2025
0 of 3 checks passed
@Ludevv
Ludevv deleted the fix-samsung-android16-bba-workaround branch December 12, 2025 10:59
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