commit | 223dea3e59ebd7ec41db5583a9c911d2298e8dc4 | [log] [tgz] |
---|---|---|
author | Katherine Kuan <katherinekuan@google.com> | Mon Dec 05 17:56:08 2011 -0800 |
committer | Katherine Kuan <katherinekuan@google.com> | Mon Dec 05 17:56:08 2011 -0800 |
tree | 0b9c254b3357fc2cdf3117270625718eca658e0a | |
parent | 0af02581eecabbe234e54364bdbbd65090518d7c [diff] |
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
diff --git a/src/com/android/contacts/editor/PhoneticNameEditorView.java b/src/com/android/contacts/editor/PhoneticNameEditorView.java index 59545d4..5e47d89 100644 --- a/src/com/android/contacts/editor/PhoneticNameEditorView.java +++ b/src/com/android/contacts/editor/PhoneticNameEditorView.java
@@ -202,6 +202,11 @@ // phonetic name. 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); } }