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

Commit 8029373f authored by Ben Lin's avatar Ben Lin Committed by Android (Google) Code Review
Browse files

Merge "Fix a merge conflict miss that caused regression." into arc-apps

parents b499a20b 62f8d404
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ import java.util.function.Consumer;
 */
public class DetailsView extends TableView implements Consumer<DocumentInfo> {

    private final Map<Integer, TextView> rows = new HashMap();
    private final Map<Integer, KeyValueRow> rows = new HashMap();

    public DetailsView(Context context) {
        this(context, null);
@@ -52,11 +52,12 @@ public class DetailsView extends TableView implements Consumer<DocumentInfo> {

    private void setRow(@StringRes int keyId, String value) {
        if(rows.containsKey(keyId)) {
            rows.get(keyId).setText(value);
            rows.get(keyId).setValue(value);
        } else {
            KeyValueRow row = createKeyValueRow(this);
            row.setKey(keyId);
            row.setValue(value);
            rows.put(keyId, row);
        }
    }