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 a0196ea21c

View file

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