1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-13 04:09:50 +01:00

Merge branch 'dev' into remove-old-player

This commit is contained in:
Christian Schabesberger 2019-02-19 14:28:53 +01:00 committed by GitHub
commit 198384b2ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -626,6 +626,7 @@ public final class PopupVideoPlayer extends Service {
@Override @Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) { public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
super.onLoadingComplete(imageUri, view, loadedImage); super.onLoadingComplete(imageUri, view, loadedImage);
if (playerImpl == null) return;
// rebuild notification here since remote view does not release bitmaps, // rebuild notification here since remote view does not release bitmaps,
// causing memory leaks // causing memory leaks
resetNotification(); resetNotification();