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
diff --git a/src/com/android/dialer/PhoneCallDetails.java b/src/com/android/dialer/PhoneCallDetails.java
index 68fdadc..add6315 100644
--- a/src/com/android/dialer/PhoneCallDetails.java
+++ b/src/com/android/dialer/PhoneCallDetails.java
@@ -60,6 +60,7 @@
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 @@
// 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;