diff options
author | Andrew Lee <anwlee@google.com> | 2015-06-05 23:08:42 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-06-05 23:08:42 +0000 |
commit | 82974b2a33a26eb41d137f0b29484961fd71293a (patch) | |
tree | af989b29aca16a79ef7802d4ff781ccdaf8c7e60 | |
parent | 9f1caf18bf3daf34bb1724998bae5e0fce385b61 (diff) | |
parent | 26feaf50b1bdc216741766ff301921b24fe85e37 (diff) |
Merge "Don't call isPlaying if not prepared." into mnc-dev
-rw-r--r-- | src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java b/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java index 99d2734eb..8db785212 100644 --- a/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java +++ b/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java @@ -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(); } |