diff options
author | Nancy Chen <nancychen@google.com> | 2015-05-11 21:04:48 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-05-11 21:04:48 +0000 |
commit | 4e4deabd0d9691e48353d10769c3642851fd015b (patch) | |
tree | bf6521997ed99bdecd7c1f196ae790a5c956b0b5 | |
parent | 419f20207dbe0f8053fc9cd3a17e546e7bbee934 (diff) | |
parent | 92e8d005feb26e1444fea59fbba91a42a370b58d (diff) |
am 92e8d005: Merge "Fix crash in voicemail notifications." into mnc-dev
* commit '92e8d005feb26e1444fea59fbba91a42a370b58d':
Fix crash in voicemail notifications.
-rw-r--r-- | src/com/android/dialer/calllog/DefaultVoicemailNotifier.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/DefaultVoicemailNotifier.java b/src/com/android/dialer/calllog/DefaultVoicemailNotifier.java index 61f8635be..8241811b7 100644 --- a/src/com/android/dialer/calllog/DefaultVoicemailNotifier.java +++ b/src/com/android/dialer/calllog/DefaultVoicemailNotifier.java @@ -143,7 +143,7 @@ public class DefaultVoicemailNotifier implements VoicemailNotifier { } } // Check if this is the new call we need to notify about. - if (newCallUri != null && + if (newCallUri != null && newCall.voicemailUri != null && ContentUris.parseId(newCallUri) == ContentUris.parseId(newCall.voicemailUri)) { callToNotify = newCall; } |