diff options
author | Yorke Lee <yorkelee@google.com> | 2015-12-09 11:58:43 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-12-10 02:29:55 +0000 |
commit | de4f0f537884365672258bed7895e3ab367b5a7a (patch) | |
tree | 3c92748a7c7a3f5be6a4d4946040a2ca44d24525 /src | |
parent | b0f9d35d24e32c95f5d85cd406ad5c08587144e0 (diff) |
Fix potential NPE in VoicemailPlaybackPresenter
Bug: 26092525
Change-Id: Id3e54a197ed8bfb51b9b01bbc98a4ee81b28d9ee
Diffstat (limited to 'src')
-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 8191d1dd8..93ff00270 100644 --- a/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java +++ b/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java @@ -386,7 +386,7 @@ public class VoicemailPlaybackPresenter implements MediaPlayer.OnPreparedListene public void onPostExecute(Boolean hasContent) { if (hasContent) { prepareContent(); - } else { + } else if (mView != null) { mView.resetSeekBar(); mView.setClipPosition(0, mDuration.get()); } |