mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-04 00:02:03 +08:00
Middle name for contact being updated incorrectly
This commit is contained in:
@@ -714,7 +714,7 @@ public class ContactAccessorSdk5 extends ContactAccessor {
|
||||
if (familyName != null) {
|
||||
builder.withValue(ContactsContract.CommonDataKinds.StructuredName.FAMILY_NAME, familyName);
|
||||
}
|
||||
String middleName = getJsonString(name, "familyName");
|
||||
String middleName = getJsonString(name, "middleName");
|
||||
if (middleName != null) {
|
||||
builder.withValue(ContactsContract.CommonDataKinds.StructuredName.MIDDLE_NAME, middleName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user