1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-25 04:17:39 +00:00

Merge branch 'dev' into patch-1

This commit is contained in:
Christian Schabesberger
2019-02-19 14:29:34 +01:00
committed by GitHub
2 changed files with 1 additions and 6 deletions

View File

@@ -35,12 +35,6 @@
</intent-filter>
</receiver>
<activity
android:name=".player.old.PlayVideoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/OldVideoPlayerTheme"
tools:ignore="UnusedAttribute"/>
<service
android:name=".player.BackgroundPlayer"
android:exported="false">

View File

@@ -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();