diff options
author | Jay Shrauner <shrauner@google.com> | 2015-02-06 16:49:24 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-06 16:49:24 +0000 |
commit | 39bfdb6ba83203eca02b7bc133632eb9b53fc2e4 (patch) | |
tree | b39889c84624fff10fb4c8b878ecfaffee4aef7a /src | |
parent | 43ad47efc87a2c83090b2f94019955a2021160dd (diff) | |
parent | 328089ed9e83eb007b3db8f9a7580de87f029732 (diff) |
am 328089ed: am 26be9374: am 06d7d08e: Fix voicemail playback position control
* commit '328089ed9e83eb007b3db8f9a7580de87f029732':
Fix voicemail playback position control
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java b/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java index 085ef669a..cb246f4c8 100644 --- a/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java +++ b/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java @@ -446,12 +446,10 @@ public class VoicemailPlaybackPresenter { @Override public Exception doInBackground(Void... params) { try { - if (!mPlayer.isReadyToPlay()) { - mPlayer.reset(); - mPlayer.setDataSource(mView.getDataSourceContext(), mVoicemailUri); - mPlayer.setAudioStreamType(PLAYBACK_STREAM); - mPlayer.prepare(); - } + mPlayer.reset(); + mPlayer.setDataSource(mView.getDataSourceContext(), mVoicemailUri); + mPlayer.setAudioStreamType(PLAYBACK_STREAM); + mPlayer.prepare(); return null; } catch (Exception e) { return e; |