From 89fa8c5b9f3bcd0bdf4c3409216b7fe88a1486e4 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Fri, 4 Sep 2015 10:11:48 -0700 Subject: Logging changes in InCallUI Log call metadata/non PII when a call is removed from the call list. Bug: 23164804 Change-Id: Id65d1fd4ab774587de3cd92fa7c71aee69cd4b84 --- InCallUI/src/com/android/incallui/CallCardPresenter.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'InCallUI/src/com/android/incallui/CallCardPresenter.java') diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index c608d3ae5..0460829af 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -37,6 +37,7 @@ import android.telephony.PhoneNumberUtils; import android.text.TextUtils; import android.view.accessibility.AccessibilityManager; +import com.android.incallui.Call.LogState; import com.android.incallui.ContactInfoCache.ContactCacheEntry; import com.android.incallui.ContactInfoCache.ContactInfoCacheCallback; import com.android.incallui.InCallPresenter.InCallDetailsListener; @@ -517,6 +518,10 @@ public class CallCardPresenter extends Presenter if (entry.name != null) { Log.d(TAG, "Contact found: " + entry); } + final Call call = CallList.getInstance().getCallById(callId); + if (call != null) { + call.getLogState().contactLookupResult = entry.contactLookupResult; + } if (entry.contactUri != null) { CallerInfoUtils.sendViewNotification(mContext, entry.contactUri); } -- cgit v1.2.3