media/src/main/java/androidx/media/MediaPlayer2Impl.java
@Override
    public void pause() {
        addTask(new Task(CALL_COMPLETED_PAUSE, false) {
            @Override
            void process() {
                mPlayer.pause();
            }
        });
    }
/**
     * Pauses playback. Call play() to resume.
     *
     * @throws IllegalStateException if the internal player engine has not been initialized.
     */
Pauses playback. Call play() to resume.
@throws IllegalStateException if the internal player engine has not been initialized.
Pauses playback . Call play () to resume . @throws IllegalStateException if the internal player engine has not been initialized .
@Override
    public void pause() {
        addTask(new Task(CALL_COMPLETED_PAUSE, false) {
            @Override
            void process() {
                mPlayer.pause();
            }
        });
    }
@ Override public void pause ( ) { addTask ( new Task ( CALL_COMPLETED_PAUSE , false ) { @ Override void process ( ) { mPlayer . pause ( ) ; } } ) ; }
Pauses playback.
Pauses playback .