diff options
author | Yorke Lee <yorkelee@google.com> | 2013-08-20 21:14:37 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-08-20 21:14:37 +0000 |
commit | f5760c02cd1c62ea804ce4cdd71e68ccdc627477 (patch) | |
tree | d612198f8020c7ad330b28d7c54a48f39dc7a97a /src | |
parent | 976fdef22ebe17e7ed57e48dbdd086e61e3a0109 (diff) | |
parent | 3b0683eddccec3c85b0a61bb5c67f0049d32cde6 (diff) |
Merge "Allow long click on contact to start on quick contact badge" into klp-dev
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/list/PhoneFavoriteRegularRowView.java | 8 |
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 |