From a610bd6e2aecf06bf6d14f869bad68e0110d3fe3 Mon Sep 17 00:00:00 2001 From: Sai Cheemalapati Date: Tue, 29 Jul 2014 15:55:46 -0700 Subject: Changing Dialer Fragments to implement Analytics. Dialer's Fragments now implement AnalyticsFragment. All Fragments now have access to sendHitEvent, which is a no op in AOSP Dialer. Change-Id: Ife6ab7d5369a1c96caaedbe1c59e6d07a0adae87 --- src/com/android/dialer/dialpad/DialpadFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android/dialer/dialpad') diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index 0491d973a..9968c096d 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -20,7 +20,6 @@ import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; -import android.app.Fragment; import android.content.ComponentName; import android.content.ContentResolver; import android.content.Context; @@ -74,6 +73,7 @@ import com.android.dialer.NeededForReflection; import com.android.dialer.R; import com.android.dialer.SpecialCharSequenceMgr; import com.android.dialer.util.DialerUtils; +import com.android.dialerbind.analytics.AnalyticsFragment; import com.android.phone.common.CallLogAsync; import com.android.phone.common.HapticFeedback; import com.android.phone.common.animation.AnimUtils; @@ -87,7 +87,7 @@ import java.util.HashSet; /** * Fragment that displays a twelve-key phone dialpad. */ -public class DialpadFragment extends Fragment +public class DialpadFragment extends AnalyticsFragment implements View.OnClickListener, View.OnLongClickListener, View.OnKeyListener, AdapterView.OnItemClickListener, TextWatcher, -- cgit v1.2.3