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

Commit 710802c3 authored by Gary Mai's avatar Gary Mai
Browse files

Fix showing aggregation suggestion

Accidently broke the aggregation anchor view retrieval method.
Now returning the proper anchor view.

Test: Typing a name that would trigger the aggregation suggestion
and seeing the pop-up appear.

Bug: 31575242
Change-Id: I7e20712d89ce58106000cdcf7402aa29b279ce8a
parent ad9e997e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -547,8 +547,8 @@ public class CompactRawContactsEditorView extends LinearLayout implements View.O
    }

    public View getAggregationAnchorView() {
        CompactKindSectionView nameView = mKindSectionViewMap.get(StructuredName.CONTENT_ITEM_TYPE);
        return nameView != null ? nameView.getChildAt(0).findViewById(R.id.anchor_view) : null;
        final StructuredNameEditorView nameEditorView = getPrimaryNameEditorView();
        return nameEditorView != null ? nameEditorView.findViewById(R.id.anchor_view) : null;
    }

    public void setGroupMetaData(Cursor groupMetaData) {