diff options
Diffstat (limited to 'java/com/android/dialer/logging/LoggingBindings.java')
-rw-r--r-- | java/com/android/dialer/logging/LoggingBindings.java | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/java/com/android/dialer/logging/LoggingBindings.java b/java/com/android/dialer/logging/LoggingBindings.java index 526cb2088..4a98d9e7d 100644 --- a/java/com/android/dialer/logging/LoggingBindings.java +++ b/java/com/android/dialer/logging/LoggingBindings.java @@ -14,8 +14,8 @@ package com.android.dialer.logging; - import android.app.Activity; +import android.widget.QuickContactBadge; /** Allows the container application to gather analytics. */ public interface LoggingBindings { @@ -62,6 +62,22 @@ public interface LoggingBindings { */ void logScreenView(com.android.dialer.logging.ScreenEvent.Type screenEvent, Activity activity); + /** Logs the composition of contact tiles in the speed dial tab. */ + void logSpeedDialContactComposition( + int counter, + int starredContactsCount, + int pinnedContactsCount, + int multipleNumbersContactsCount, + int contactsWithPhotoCount, + int contactsWithNameCount, + int duoReachableContactCount); + /** Logs a hit event to the analytics server. */ void sendHitEventAnalytics(String category, String action, String label, long value); + + /** Logs where a quick contact badge is clicked */ + void logQuickContactOnTouch( + QuickContactBadge quickContact, + InteractionEvent.Type interactionEvent, + boolean shouldPerformClick); } |