From dbeaf709e4473b9978c76e2a15cd7cadcff5bdd6 Mon Sep 17 00:00:00 2001 From: Chiao Cheng Date: Wed, 13 Nov 2013 15:15:07 -0800 Subject: Add callState parameter to reverse lookup requests. This will provide contextual information to the server so that reverse lookup can be turned off for outgoing calls. Also add Gservices parameter so that additional query parameters can be added in the future. Bug: 11630566 Change-Id: I2186d73712e64e242e0f953f5d77125879c83148 (cherry picked from commit 96e77cd102b25ec30955d1da80be2df703eeda5a) --- InCallUI/src/com/android/incallui/ContactInfoCache.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'InCallUI/src/com/android/incallui/ContactInfoCache.java') diff --git a/InCallUI/src/com/android/incallui/ContactInfoCache.java b/InCallUI/src/com/android/incallui/ContactInfoCache.java index c950ed417..54de7057d 100644 --- a/InCallUI/src/com/android/incallui/ContactInfoCache.java +++ b/InCallUI/src/com/android/incallui/ContactInfoCache.java @@ -173,7 +173,8 @@ public class ContactInfoCache implements ContactsAsyncHelper.OnImageLoadComplete mPhoneNumberService != null) { Log.d(TAG, "Contact lookup. Local contacts miss, checking remote"); final PhoneNumberServiceListener listener = new PhoneNumberServiceListener(callId); - mPhoneNumberService.getPhoneNumberInfo(cacheEntry.number, listener, listener); + mPhoneNumberService.getPhoneNumberInfo(cacheEntry.number, listener, listener, + isIncoming); } else if (cacheEntry.personUri != null) { Log.d(TAG, "Contact lookup. Local contact found, starting image load"); // Load the image with a callback to update the image state. -- cgit v1.2.3