OSDN Git Service

resolved conflicts for merge of cf22feef to master
authorEvan Millar <emillar@google.com>
Tue, 6 Oct 2009 17:08:16 +0000 (10:08 -0700)
committerEvan Millar <emillar@google.com>
Tue, 6 Oct 2009 17:08:16 +0000 (10:08 -0700)
1  2 
src/com/android/contacts/ContactsListActivity.java

@@@ -2302,8 -2247,11 +2302,11 @@@ public class ContactsListActivity exten
              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;