Add callType to button renderer for spam reporting.

+Pass callType to ExtendedBlockingButtonRenderer so that when the user
reports a number as spam or not spam, the type of call (missed,
voicemail, etc.) is passed to the clearcut log

BUG=27323803

Change-Id: I5d3493d3d4212affc3e64e0f499143085baf0ec5
diff --git a/src/com/android/dialer/service/ExtendedBlockingButtonRenderer.java b/src/com/android/dialer/service/ExtendedBlockingButtonRenderer.java
index f8d5ea0..c605804 100644
--- a/src/com/android/dialer/service/ExtendedBlockingButtonRenderer.java
+++ b/src/com/android/dialer/service/ExtendedBlockingButtonRenderer.java
@@ -38,6 +38,11 @@
         public final String countryIso;
         public final String nameOrNumber;
         public final String displayNumber;
+        /**
+         * Whether the type of call is missed, voicemail, etc. An example of this is
+         * {@link android.provider.CallLog.Calls#VOICEMAIL_TYPE}.
+         */
+        public final int callType;
 
         public ViewHolderInfo(
                 /* All existing views amongst the list item actions, even if invisible */
@@ -49,7 +54,8 @@
                 String phoneNumber,
                 String countryIso,
                 String nameOrNumber,
-                String displayNumber) {
+                String displayNumber,
+                int callType) {
 
             this.completeListItemViews = completeListItemViews;
             this.extendedBlockedViews = extendedBlockedViews;
@@ -58,6 +64,7 @@
             this.countryIso = countryIso;
             this.nameOrNumber = nameOrNumber;
             this.displayNumber = displayNumber;
+            this.callType = callType;
         }
     }