diff options
author | Christine Chen <christinech@google.com> | 2013-10-03 14:59:11 -0700 |
---|---|---|
committer | Christine Chen <christinech@google.com> | 2013-10-03 15:00:09 -0700 |
commit | 1f06f0ad1229f3b4e00553c294e664ffa5234c90 (patch) | |
tree | 01c3e849d29b7f51c8ddebfb4697ac6c9b8c3494 /src/com/android/dialer/list/PhoneFavoritesTileAdapter.java | |
parent | 6da93994e24403f67276195bd94f03c9380b0a13 (diff) |
Adds tooltip for Dialer
Bug: 10916819
Change-Id: Ic18f982a6d478b165f576361cfec6edb8c6eb1c3
Diffstat (limited to 'src/com/android/dialer/list/PhoneFavoritesTileAdapter.java')
-rw-r--r-- | src/com/android/dialer/list/PhoneFavoritesTileAdapter.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java b/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java index a4a2cb418..e28fd73f3 100644 --- a/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java +++ b/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java @@ -505,7 +505,11 @@ public class PhoneFavoritesTileAdapter extends BaseAdapter implements int itemViewType = getItemViewType(position); - ContactTileRow contactTileRowView = (ContactTileRow) convertView; + ContactTileRow contactTileRowView = null; + + if (convertView instanceof ContactTileRow) { + contactTileRowView = (ContactTileRow) convertView; + } ArrayList<ContactEntry> contactList = getItem(position); |