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

Commit 7011a2ea authored by Robert Shih's avatar Robert Shih Committed by Android Git Automerger
Browse files

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

* commit 'b45cb776':
  Explicitly disconnect in MediaPlayer::reset
parents 50bd7422 b45cb776
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