summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2015-04-29 22:58:54 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-29 22:58:54 +0000
commit576ce90732c84879fe43f1de3e810ddd986b9862 (patch)
tree9ecbd6ca9e07e981b515425e754b8ce559357a2e /src
parent39515786c02173dbaa6cab41d7e3082a1043fb25 (diff)
parent2555402ee07f87ac219abb430cd23c668f8f0c9c (diff)
am 2555402e: Check the voicemail IDs as opposed to the whole URI.
* commit '2555402ee07f87ac219abb430cd23c668f8f0c9c': Check the voicemail IDs as opposed to the whole URI.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/calllog/DefaultVoicemailNotifier.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/DefaultVoicemailNotifier.java b/src/com/android/dialer/calllog/DefaultVoicemailNotifier.java
index 970cad6a6..61f8635be 100644
--- a/src/com/android/dialer/calllog/DefaultVoicemailNotifier.java
+++ b/src/com/android/dialer/calllog/DefaultVoicemailNotifier.java
@@ -143,7 +143,8 @@ public class DefaultVoicemailNotifier implements VoicemailNotifier {
}
}
// Check if this is the new call we need to notify about.
- if (newCallUri != null && newCallUri.equals(newCall.voicemailUri)) {
+ if (newCallUri != null &&
+ ContentUris.parseId(newCallUri) == ContentUris.parseId(newCall.voicemailUri)) {
callToNotify = newCall;
}
}