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

Commit 223dea3e authored by Katherine Kuan's avatar Katherine Kuan
Browse files

Fix phonetic names not being saved for Exchange contacts

If the phonetic name does not have a short/long form
(i.e. an expansion button), then we need to call into the
superclass onFieldChanged() method as we did previous to
this CL: https://android-git.corp.google.com/g/#/c/150242/

Bug: 5703655
Change-Id: Ibb0545ab96a104457e09ee227f05aa34290a343c
parent 0af02581
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -202,6 +202,11 @@ public class PhoneticNameEditorView extends TextFieldsEditorView {
                // phonetic name.
                // phonetic name.
                super.onFieldChanged(column, value);
                super.onFieldChanged(column, value);
            }
            }
        } else {
            // All fields are always visible, so we don't have to worry about blocking updates
            // from onRestoreInstanceState() from hidden fields. Always call into the superclass
            // to update the field and rebuild the underlying phonetic name.
            super.onFieldChanged(column, value);
        }
        }
    }
    }