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

Commit a0fa4c18 authored by Paul Soulos's avatar Paul Soulos
Browse files

Fixes ArrayIndex bug

bug: 16856880
Change-Id: I953e9a90e7fd6504387cc792371b0e01cc184a9b
parent 2a4207fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -899,7 +899,7 @@ public class QuickContactActivity extends ContactsActivity {
            List<Entry> phoneticList = new ArrayList<>();
            phoneticList.add(phoneticEntry);
            // Phonetic name comes after nickname. Check to see if the first entry type is nickname
            if (aboutCardEntries.get(0).get(0).getHeader().equals(
            if (aboutCardEntries.size() > 0 && aboutCardEntries.get(0).get(0).getHeader().equals(
                    getResources().getString(R.string.header_nickname_entry))) {
                aboutCardEntries.add(1, phoneticList);
            } else {