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

Commit 6ec7e500 authored by Robert Shih's avatar Robert Shih Committed by Android Git Automerger
Browse files

am 1b192871: am b45cb776: Merge "Explicitly disconnect in MediaPlayer::reset" into mnc-dev

* commit '1b192871':
  Explicitly disconnect in MediaPlayer::reset
parents ed74d9c5 1b192871
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