mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
Middle name for contact being updated incorrectly
This commit is contained in:
parent
567ca94245
commit
6e39c46b07
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user