summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/dialer/list/PhoneFavoriteRegularRowView.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/dialer/list/PhoneFavoriteRegularRowView.java b/src/com/android/dialer/list/PhoneFavoriteRegularRowView.java
index f9c2c84b6..11dc00a90 100644
--- a/src/com/android/dialer/list/PhoneFavoriteRegularRowView.java
+++ b/src/com/android/dialer/list/PhoneFavoriteRegularRowView.java
@@ -59,6 +59,14 @@ public class PhoneFavoriteRegularRowView extends PhoneFavoriteTileView {
favoriteContactCard.setPaddingRelative(rowPaddingStart, rowPaddingTop, rowPaddingEnd,
rowPaddingBottom);
+
+ final View quickContactBadge = findViewById(R.id.contact_tile_quick);
+ quickContactBadge.setOnLongClickListener(new OnLongClickListener() {
+ @Override
+ public boolean onLongClick(View v) {
+ return PhoneFavoriteRegularRowView.this.performLongClick();
+ }
+ });
}
@Override