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

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

Merge "Fix NullPointerException in Contact Editor." into ub-contactsdialer-a-dev

parents bfea74f3 ac4b12f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1024,7 +1024,7 @@ public class CompactRawContactsEditorView extends LinearLayout implements View.O
        if (TextUtils.isEmpty(mReadOnlyDisplayName)) return;
        final List<CompactKindSectionView> kindSectionViews
                = mKindSectionViewsMap.get(StructuredName.CONTENT_ITEM_TYPE);
        if (kindSectionViews.isEmpty()) return;
        if (kindSectionViews == null || kindSectionViews.isEmpty()) return;
        final CompactKindSectionView primaryNameKindSectionView = kindSectionViews.get(0);
        if (primaryNameKindSectionView.isEmptyName()) {
            vlog("name: using read only display name as primary name");