/** * Performs the functionality to stop the progress polling, and stop any other procedures from * running that we no longer need. */ private void onPlaybackEnded() { stopPlayback(); pollRepeater.stop(); }
/** Stops the progress poll (see {@link #startProgressPoll()}) */ public void stopProgressPoll() { if (defaultControls == null) { pollRepeater.stop(); } }
/** * Performs the functionality to stop the progress polling, and stop any other procedures from * running that we no longer need. */ protected void onPlaybackEnded() { stopPlayback(); pollRepeater.stop(); }