summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Attwell <brianattwell@google.com>2014-07-28 21:25:55 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-07-28 18:28:56 +0000
commitc96ca7524290fe747c78cc9104bd433f042ca85a (patch)
tree0aaffda9982fd91dfb6ae287be0fdc741e957b45 /src
parent7de6f85b0ee66deda13505f545c6b7125b2ac462 (diff)
parent32c91fdd680c55836e235255fbb5bdba27cb9ca6 (diff)
downloadpackages_apps_Contacts-c96ca7524290fe747c78cc9104bd433f042ca85a.tar.gz
packages_apps_Contacts-c96ca7524290fe747c78cc9104bd433f042ca85a.tar.bz2
packages_apps_Contacts-c96ca7524290fe747c78cc9104bd433f042ca85a.zip
Merge "Fix name-suffix crash on rotation" into lmp-dev
Diffstat (limited to 'src')
-rw-r--r--src/com/android/contacts/editor/StructuredNameEditorView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/contacts/editor/StructuredNameEditorView.java b/src/com/android/contacts/editor/StructuredNameEditorView.java
index bf548f667..f9eef9445 100644
--- a/src/com/android/contacts/editor/StructuredNameEditorView.java
+++ b/src/com/android/contacts/editor/StructuredNameEditorView.java
@@ -155,6 +155,7 @@ public class StructuredNameEditorView extends TextFieldsEditorView {
mSnapshot.getContentValues().clear();
mSnapshot.setDisplayName(values.getDisplayName());
+ mSnapshot.setMimeType(StructuredPostal.CONTENT_ITEM_TYPE);
for (String field : structuredNameMap.keySet()) {
mSnapshot.getContentValues().put(field, structuredNameMap.get(field));
}