diff options
author | Jay Shrauner <shrauner@google.com> | 2015-02-06 16:36:38 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-06 16:36:38 +0000 |
commit | 328089ed9e83eb007b3db8f9a7580de87f029732 (patch) | |
tree | 8b05fb472610865118499d4755e42d513db36f4c | |
parent | f4f09521c20134fb2690c6a58e4ce203e0055d9c (diff) | |
parent | 26be9374834c61bcd1d2c267d42253ca7524b4dd (diff) |
am 26be9374: am 06d7d08e: Fix voicemail playback position control
* commit '26be9374834c61bcd1d2c267d42253ca7524b4dd':
Fix voicemail playback position control
-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; |