diff options
author | Yorke Lee <yorkelee@google.com> | 2015-09-04 10:11:48 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-09-11 10:44:35 -0700 |
commit | 89fa8c5b9f3bcd0bdf4c3409216b7fe88a1486e4 (patch) | |
tree | 7a2b01128741045e147166fa8c565cbb0ac02ec9 /InCallUI/src/com/android/incallui/CallCardPresenter.java | |
parent | 4a145bad68055b403d0bd32751bb6f8bb69204b0 (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.java | 5 |
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); } |