[regression] Close player in onPlaybackShutdown()

This commit is contained in:
Stypox 2020-08-15 15:58:25 +02:00
parent 5ef407d15f
commit 12ac5ef781
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
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