private void setPlaying ( boolean playing ) { PlaybackState oldState = currentSimpleState ( ) ; if ( oldState != null && oldState . playing != playing ) { setPlaybackState ( oldState . player , oldState . position , playing ) ; } }
Set whether the player holding the waveform is playing which changes the indicator color to white from red . This method can only be used in situations where the component is tied to a single player and therefore has a single playback position .