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

Commit 3658f0f3 authored by Tingting Wang's avatar Tingting Wang Committed by Android (Google) Code Review
Browse files

Merge "Truncate account string at end." into ub-contactsdialer-f-dev

parents 9c129d59 0c4c1584
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -100,11 +100,7 @@ public final class AccountsListAdapter extends BaseAdapter {
        final AccountType accountType = mAccountTypes.getAccountType(account.type, account.dataSet);

        text1.setText(accountType.getDisplayLabel(mContext));

        // For email addresses, we don't want to truncate at end, which might cut off the domain
        // name.
        text2.setText(account.name);
        text2.setEllipsize(TruncateAt.MIDDLE);

        icon.setImageDrawable(accountType.getDisplayIcon(mContext));