summaryrefslogtreecommitdiff
path: root/InCallUI/src/com/android/incallui/CallCardPresenter.java
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-09-04 10:11:48 -0700
committerYorke Lee <yorkelee@google.com>2015-09-11 10:44:35 -0700
commit89fa8c5b9f3bcd0bdf4c3409216b7fe88a1486e4 (patch)
tree7a2b01128741045e147166fa8c565cbb0ac02ec9 /InCallUI/src/com/android/incallui/CallCardPresenter.java
parent4a145bad68055b403d0bd32751bb6f8bb69204b0 (diff)
Logging changes in InCallUI
Log call metadata/non PII when a call is removed from the call list. Bug: 23164804 Change-Id: Id65d1fd4ab774587de3cd92fa7c71aee69cd4b84
Diffstat (limited to 'InCallUI/src/com/android/incallui/CallCardPresenter.java')
-rw-r--r--InCallUI/src/com/android/incallui/CallCardPresenter.java5
1 files changed, 5 insertions, 0 deletions
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<CallCardPresenter.CallCardUi>
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);
}