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

Commit 26feaf50 authored by Andrew Lee's avatar Andrew Lee
Browse files

Don't call isPlaying if not prepared.

Bug: 21647046
Change-Id: Ib0f5c2d7cd973ba4732defeceb32fe956e8dbdb8
parent feddb49c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ public class VoicemailPlaybackPresenter

    public void onPause(boolean isFinishing) {
        // Do not pause for orientation changes.
        if (mMediaPlayer.isPlaying() && isFinishing) {
        if (mIsPrepared && mMediaPlayer.isPlaying() && isFinishing) {
            pausePlayback();
        }