diff options
author | Yorke Lee <yorkelee@google.com> | 2015-12-09 11:58:43 -0800 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2015-12-10 15:41:29 -0800 |
commit | 24c462296cc468e9620b59b0d5165286dcdbbff9 (patch) | |
tree | df6a556e09950d60ff6e2315477fd92b91777a9c /src | |
parent | 52cd5fd66d0b97e066f89281eb55016dedfeec3a (diff) |
[DO NOT MERGE] Fix potential NPE in VoicemailPlaybackPresenter
Bug: 26092525
Change-Id: I1f6673f698fabd5c6ccb62beee68a91170d0eff7
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()); } |