diff options
author | Chiao Cheng <chiaocheng@google.com> | 2013-11-13 15:15:07 -0800 |
---|---|---|
committer | Chiao Cheng <chiaocheng@google.com> | 2013-11-14 02:04:25 +0000 |
commit | dbeaf709e4473b9978c76e2a15cd7cadcff5bdd6 (patch) | |
tree | b79a36f39d0a09169fed45bfed5a281e13f689e9 /InCallUI/src/com/android/incallui/ContactInfoCache.java | |
parent | 76d46fa98f1a2363165b7e5534f6dbdf23908351 (diff) |
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)
Diffstat (limited to 'InCallUI/src/com/android/incallui/ContactInfoCache.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/ContactInfoCache.java | 3 |
1 files changed, 2 insertions, 1 deletions
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. |