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

Commit d9d7bac1 authored by Walter Jang's avatar Walter Jang Committed by Android Git Automerger
Browse files

am af470e52: am 24328180: Merge "Expanded name not passed to full editor for inserts" into mnc-dev

* commit 'af470e52':
  Expanded name not passed to full editor for inserts
parents 8ff3d145 af470e52
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -213,7 +213,10 @@ public class StructuredNameEditorView extends TextFieldsEditorView {
    public String getDisplayName() {
        final ValuesDelta valuesDelta = getValues();
        if (hasShortAndLongForms() && areOptionalFieldsVisible()) {
            return valuesDelta.getDisplayName();
            final String displayName = valuesDelta.getDisplayName();
            if (!TextUtils.isEmpty(displayName)) {
                return displayName;
            }
        }
        final Map<String, String> structuredNameMap = valuesToStructuredNameMap(valuesDelta);
        final String displayName = NameConverter.structuredNameToDisplayName(