mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-09 04:42:24 +00:00
fix crash while switching from popup to fullscreen player, or closing the popup player.
This commit is contained in:
@@ -626,6 +626,7 @@ public final class PopupVideoPlayer extends Service {
|
||||
@Override
|
||||
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
|
||||
super.onLoadingComplete(imageUri, view, loadedImage);
|
||||
if (playerImpl == null) return;
|
||||
// rebuild notification here since remote view does not release bitmaps,
|
||||
// causing memory leaks
|
||||
resetNotification();
|
||||
|
Reference in New Issue
Block a user