From 2f05af35af03de67c1c474cd148719b24fac3552 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 9 Jun 2015 15:59:47 -0700 Subject: Move "Report" to CallDetailActivity. - Delete old report button/handling code. + Convert menu click listeners into single onMenuItemClick method. + Add and populate objectId on PhoneCallDetails, to be able to tell from the CallDetailActivity whether to enable reporting. Change-Id: Ie4b9a3c1835792cbba04dc826f71fd2e53071400 --- src/com/android/dialer/PhoneCallDetails.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/com/android/dialer/PhoneCallDetails.java') diff --git a/src/com/android/dialer/PhoneCallDetails.java b/src/com/android/dialer/PhoneCallDetails.java index 68fdadc0c..add63151a 100644 --- a/src/com/android/dialer/PhoneCallDetails.java +++ b/src/com/android/dialer/PhoneCallDetails.java @@ -60,6 +60,7 @@ public class PhoneCallDetails { public CharSequence numberLabel; // The URI of the contact associated with this phone call. public Uri contactUri; + /** * The photo URI of the picture of the contact that is associated with this phone call or * null if there is none. @@ -71,6 +72,9 @@ public class PhoneCallDetails { // The source type of the contact associated with this call. public int sourceType; + // The object id type of the contact associated with this call. + public String objectId; + // The unique identifier for the account associated with the call. public PhoneAccountHandle accountHandle; -- cgit v1.2.3