diff options
author | Nancy Chen <nancychen@google.com> | 2015-05-11 20:55:50 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-11 20:55:51 +0000 |
commit | 92e8d005feb26e1444fea59fbba91a42a370b58d (patch) | |
tree | efff963927b701a53e3db559c9eabf253978b32a | |
parent | 4aece9536ed64da965fd42da07a393f935abd6b1 (diff) | |
parent | 6737702e9edcf505bdf597ef7923ba060fe096a9 (diff) |
Merge "Fix crash in voicemail notifications." into mnc-dev
-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; } |