diff --git a/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp b/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp index 1c6497eb0a7710ad9d14796fa3566d730b95a164..9631a6ba7d66be209ac538569baaf8da1ad3205c 100644 --- a/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp +++ b/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp @@ -379,8 +379,6 @@ void QAndroidMediaPlayerControl::play() setMedia(mMediaContent, mMediaStream); } - setState(QMediaPlayer::PlayingState); - if ((mState & (AndroidMediaPlayer::Prepared | AndroidMediaPlayer::Started | AndroidMediaPlayer::Paused @@ -389,6 +387,7 @@ void QAndroidMediaPlayerControl::play() return; } + setState(QMediaPlayer::PlayingState); mMediaPlayer->play(); }