media/src/main/java/androidx/media/MediaPlayer2Impl.java
@Override
    public void reset() {
        mPlayer.reset();
        synchronized (mLock) {
            mAudioAttributes = null;
            mMp2EventCallbackRecords.clear();
            mPlayerEventCallbackMap.clear();
            mDrmEventCallbackRecords.clear();
        }
    }
/**
     * Resets the MediaPlayer2 to its uninitialized state. After calling
     * this method, you will have to initialize it again by setting the
     * data source and calling prepare().
     */
Resets the MediaPlayer2 to its uninitialized state. After calling
this method, you will have to initialize it again by setting the
data source and calling prepare().
Resets the MediaPlayer2 to its uninitialized state . After calling this method you will have to initialize it again by setting the data source and calling prepare () .
@Override
    public void reset() {
        mPlayer.reset();
        synchronized (mLock) {
            mAudioAttributes = null;
            mMp2EventCallbackRecords.clear();
            mPlayerEventCallbackMap.clear();
            mDrmEventCallbackRecords.clear();
        }
    }
@ Override public void reset ( ) { mPlayer . reset ( ) ; synchronized ( mLock ) { mAudioAttributes = null ; mMp2EventCallbackRecords . clear ( ) ; mPlayerEventCallbackMap . clear ( ) ; mDrmEventCallbackRecords . clear ( ) ; } }
Resets the MediaPlayer2 to its uninitialized state.
Resets the MediaPlayer2 to its uninitialized state .