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

Commit ab3811ef authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Resolver/Chooser - Fix reuse of textview" into rvc-dev

parents 10250f67 2d0c7b02
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -689,17 +689,17 @@ public class ResolverListAdapter extends BaseAdapter {
        }

        public void bindLabel(CharSequence label, CharSequence subLabel, boolean showSubLabel) {
            if (!TextUtils.equals(text.getText(), label)) {
            text.setText(label);
            }

            if (TextUtils.equals(label, subLabel)) {
                subLabel = "";
                subLabel = null;
            }

            if (showSubLabel || !TextUtils.equals(text2.getText(), subLabel)) {
                text2.setVisibility(View.VISIBLE);
            text2.setText(subLabel);
            if (showSubLabel || subLabel != null) {
                text2.setVisibility(View.VISIBLE);
            } else {
                text2.setVisibility(View.GONE);
            }

            itemView.setContentDescription(null);