diff options
author | Andrew Lee <anwlee@google.com> | 2015-03-25 16:27:03 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-03-25 16:34:06 -0700 |
commit | 2df74060c8206d0817a1222bdd5b6cee714f0495 (patch) | |
tree | e3a410da339a7d743a590655e185ab291f9d15a0 /src | |
parent | 467de3dc2be8fa6c815782852f47a752eb77a6dc (diff) |
Add logging of shortcut types on click.
Log more info, to help with debugging misbehaving shortcuts.
Bug: 19406317
Change-Id: Ia1dd8e51f7129a142d23867179fd1db7ca86c865
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/list/SearchFragment.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/dialer/list/SearchFragment.java b/src/com/android/dialer/list/SearchFragment.java index 24ddc7351..000e139fe 100644 --- a/src/com/android/dialer/list/SearchFragment.java +++ b/src/com/android/dialer/list/SearchFragment.java @@ -22,6 +22,7 @@ import android.net.Uri; import android.os.Bundle; import android.provider.ContactsContract; import android.text.TextUtils; +import android.util.Log; import android.view.View; import android.view.animation.Interpolator; import android.widget.AbsListView; @@ -40,6 +41,7 @@ import com.android.dialer.util.DialerUtils; import com.android.phone.common.animation.AnimUtils; public class SearchFragment extends PhoneNumberPickerFragment { + private static final String TAG = SearchFragment.class.getSimpleName(); private static final String SMS_URI_PREFIX = "sms:"; private OnListFragmentScrolledListener mActivityScrollListener; @@ -156,6 +158,7 @@ public class SearchFragment extends PhoneNumberPickerFragment { final Intent intent; final String number; + Log.i(TAG, "onItemClick: shortcutType=" + shortcutType); switch (shortcutType) { case DialerPhoneNumberListAdapter.SHORTCUT_INVALID: super.onItemClick(position, id); |