Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b45cb776 authored by Robert Shih's avatar Robert Shih Committed by Android (Google) Code Review
Browse files

Merge "Explicitly disconnect in MediaPlayer::reset" into mnc-dev

parents 2c7d0f20 2b95bda1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -574,6 +574,7 @@ status_t MediaPlayer::reset_l()
            ALOGE("reset() failed with return code (%d)", ret);
            mCurrentState = MEDIA_PLAYER_STATE_ERROR;
        } else {
            mPlayer->disconnect();
            mCurrentState = MEDIA_PLAYER_IDLE;
        }
        // setDataSource has to be called again to create a