summaryrefslogtreecommitdiff
path: root/InCallUI/src/com/android/incallui/StatusBarNotifier.java
diff options
context:
space:
mode:
Diffstat (limited to 'InCallUI/src/com/android/incallui/StatusBarNotifier.java')
-rw-r--r--InCallUI/src/com/android/incallui/StatusBarNotifier.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/InCallUI/src/com/android/incallui/StatusBarNotifier.java b/InCallUI/src/com/android/incallui/StatusBarNotifier.java
index 2702dcf82..a86837f32 100644
--- a/InCallUI/src/com/android/incallui/StatusBarNotifier.java
+++ b/InCallUI/src/com/android/incallui/StatusBarNotifier.java
@@ -225,7 +225,7 @@ public class StatusBarNotifier implements InCallPresenter.InCallStateListener {
// call into the contacts provider for more data.
mContactInfoCache.findInfo(call, isIncoming, new ContactInfoCacheCallback() {
@Override
- public void onContactInfoComplete(int callId, ContactCacheEntry entry) {
+ public void onContactInfoComplete(String callId, ContactCacheEntry entry) {
Call call = CallList.getInstance().getCall(callId);
if (call != null) {
buildAndSendNotification(call, entry);
@@ -233,7 +233,7 @@ public class StatusBarNotifier implements InCallPresenter.InCallStateListener {
}
@Override
- public void onImageLoadComplete(int callId, ContactCacheEntry entry) {
+ public void onImageLoadComplete(String callId, ContactCacheEntry entry) {
Call call = CallList.getInstance().getCall(callId);
if (call != null) {
buildAndSendNotification(call, entry);
@@ -250,7 +250,7 @@ public class StatusBarNotifier implements InCallPresenter.InCallStateListener {
// back. However, it can happen much later. Before we continue, we need to make sure that
// the call being passed in is still the one we want to show in the notification.
final Call call = getCallToShow(CallList.getInstance());
- if (call == null || call.getCallId() != originalCall.getCallId()) {
+ if (call == null || !call.getCallId().equals(originalCall.getCallId())) {
return;
}