summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Attwell <brianattwell@google.com>2014-06-11 18:49:13 -0700
committerBrian Attwell <brianattwell@google.com>2014-06-11 18:49:13 -0700
commit9b362968a073f501b6cccd2e579c4944e19b6f50 (patch)
tree4e54ecead19e0b868d4794efb0498265073cbc9d
parent28aab271e57a4966496b5d2ef2b067e8ace34679 (diff)
Favorite tiles shouldn't be circles
Bug: 15573471 Change-Id: I3a9559f1cfd805956a19fc781e905b0f42e895dd
-rw-r--r--src/com/android/dialer/list/PhoneFavoriteTileView.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/dialer/list/PhoneFavoriteTileView.java b/src/com/android/dialer/list/PhoneFavoriteTileView.java
index 862952de4..5f2d2a9df 100644
--- a/src/com/android/dialer/list/PhoneFavoriteTileView.java
+++ b/src/com/android/dialer/list/PhoneFavoriteTileView.java
@@ -141,4 +141,10 @@ public abstract class PhoneFavoriteTileView extends ContactTileView {
mShadowOverlay.setVisibility(isDefaultImage ? View.GONE : View.VISIBLE);
}
}
+
+ @Override
+ protected boolean isContactPhotoCircular() {
+ // Unlike Contacts' tiles, the Dialer's favorites tiles are square.
+ return false;
+ }
}