Merge pull request #13132 from Stypox/regression-detailfragment-flickers

This commit is contained in:
Stypox 2026-01-28 02:04:15 +01:00 committed by GitHub
commit c0613b5e54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1424,8 +1424,10 @@ public final class VideoDetailFragment
bottomSheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
}
// Rebound to the service if it was closed via notification or mini player
playerHolder.setListener(VideoDetailFragment.this);
playerHolder.tryBindIfNeeded(context);
if (!playerHolder.isBound()) {
playerHolder.startService(
false, VideoDetailFragment.this);
}
break;
}
}