Omit attribution icon in medium FastTrack.
Fixes http://b/2175531
diff --git a/res/layout-finger/quickcontact_header_med.xml b/res/layout-finger/quickcontact_header_med.xml
index a5762fd..c9ef2be 100644
--- a/res/layout-finger/quickcontact_header_med.xml
+++ b/res/layout-finger/quickcontact_header_med.xml
@@ -53,19 +53,4 @@
</LinearLayout>
- <ImageView
- android:id="@+id/source_divider"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="1dip"
- android:src="@drawable/quickcontact_frame_divider_med" />
-
- <ImageView
- android:id="@+id/source"
- android:layout_width="30dip"
- android:layout_height="30dip"
- android:layout_marginLeft="13dip"
- android:layout_marginRight="16dip"
- android:scaleType="centerInside" />
-
</LinearLayout>
diff --git a/src/com/android/contacts/ui/QuickContactWindow.java b/src/com/android/contacts/ui/QuickContactWindow.java
index ecb5f9d..181a2d9 100644
--- a/src/com/android/contacts/ui/QuickContactWindow.java
+++ b/src/com/android/contacts/ui/QuickContactWindow.java
@@ -320,7 +320,6 @@
setHeaderText(R.id.timestamp, null);
setHeaderImage(R.id.presence, null);
- setHeaderImage(R.id.source, null);
resetTrack();
@@ -1149,16 +1148,6 @@
// Update status when valid was found
setHeaderText(R.id.status, status.getStatus());
setHeaderText(R.id.timestamp, status.getTimestampLabel(mContext));
-
- final Drawable icon = status.getIcon(mContext);
- setHeaderImage(R.id.source, icon);
-
- if (mMode == QuickContact.MODE_MEDIUM) {
- // Hide medium divider when missing icon
- final boolean validIcon = icon != null;
- mHeader.findViewById(R.id.source_divider).setVisibility(
- validIcon ? View.VISIBLE : View.GONE);
- }
}
// Turn our list of actions into UI elements, starting with common types