Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b0683ed authored by Yorke Lee's avatar Yorke Lee
Browse files

Allow long click on contact to start on quick contact badge

Bug: 10262721
Change-Id: Ida03fc282b50c855c4268161948b02589f3e3cc9
parent d79227c1
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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