diff options
author | Nancy Chen <nancychen@google.com> | 2015-08-26 23:18:04 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-08-26 23:18:04 +0000 |
commit | 20db3b0d2d027d328681675c64cd1cfcf1f7132d (patch) | |
tree | 0132ac9c96aa470c9fc4c6435ca40fd9014784d0 | |
parent | 712e1b760ac11ccd9df9971f1140eca945c1e397 (diff) | |
parent | 9e03429acf15113db6ded3b10bf42963c7b1e727 (diff) |
Merge "Check for whether view exists before attempting to resume play."
-rw-r--r-- | src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java b/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java index 19e190c32..dabefc563 100644 --- a/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java +++ b/src/com/android/dialer/voicemail/VoicemailPlaybackPresenter.java @@ -589,6 +589,10 @@ public class VoicemailPlaybackPresenter * playing. */ public void resumePlayback() { + if (mView == null) { + return; + } + if (!mIsPrepared) { // If we haven't downloaded the voicemail yet, attempt to download it. checkForContent(); |