[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(); registerView();
} }
@Override
public void onPlaybackShutdown() {
if (DEBUG) {
Log.d(TAG, "Shutting down...");
}
destroy();
}
/*////////////////////////////////////////////////////////////////////////// /*//////////////////////////////////////////////////////////////////////////
// General Player // General Player
//////////////////////////////////////////////////////////////////////////*/ //////////////////////////////////////////////////////////////////////////*/

View File

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