cache.labelView = (TextView) view.findViewById(R.id.label);
cache.dataView = (TextView) view.findViewById(R.id.data);
cache.presenceView = (ImageView) view.findViewById(R.id.presence);
- cache.photoView = (FasttrackBadgeWidget) view.findViewById(R.id.photo);
+ cache.photoView = (QuickContactBadge) view.findViewById(R.id.photo);
+ if (cache.photoView != null) {
+ cache.photoView.setExcludeMimes(new String[] {Contacts.CONTENT_ITEM_TYPE});
+ }
- cache.nonFastTrackPhotoView = (ImageView) view.findViewById(R.id.noFastTrackphoto);
+ cache.nonQuickContactPhotoView = (ImageView) view.findViewById(R.id.noQuickContactPhoto);
view.setTag(cache);
return view;