summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/dialer/calllog/DefaultVoicemailNotifier.java2
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;
}