kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Merge pull request #4130 from Stypox/swipe-queueitem-fix
[regression] Close player in onPlaybackShutdown()pull/4127/head
commit
13c9096417
|
@ -1068,14 +1068,6 @@ public abstract class BasePlayer implements
|
|||
registerView();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPlaybackShutdown() {
|
||||
if (DEBUG) {
|
||||
Log.d(TAG, "Shutting down...");
|
||||
}
|
||||
destroy();
|
||||
}
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////////////
|
||||
// General Player
|
||||
//////////////////////////////////////////////////////////////////////////*/
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue