1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 16:40:32 +00:00

Merge pull request #4130 from Stypox/swipe-queueitem-fix

[regression] Close player in onPlaybackShutdown()
This commit is contained in:
Tobias Groza 2020-08-15 20:25:54 +02:00 committed by GitHub
commit 13c9096417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 9 deletions

View File

@ -1068,14 +1068,6 @@ public abstract class BasePlayer implements
registerView();
}
@Override
public void onPlaybackShutdown() {
if (DEBUG) {
Log.d(TAG, "Shutting down...");
}
destroy();
}
/*//////////////////////////////////////////////////////////////////////////
// General Player
//////////////////////////////////////////////////////////////////////////*/

View File

@ -622,7 +622,7 @@ public class VideoPlayerImpl extends VideoPlayer
if (DEBUG) {
Log.d(TAG, "onPlaybackShutdown() called");
}
// Override it because we don't want playerImpl destroyed
service.onDestroy();
}
@Override