From 3c7c3c0529130bf758a2518a7f363b4a90516546 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Sun, 27 Sep 2009 12:50:54 -0700 Subject: [PATCH] Don't send DisplayName to CP2 from Exchange contacts sync * Should fix #2141888 Change-Id: I31d769fd23de4ec7e2d06f108afd8642700a8500 --- src/com/android/exchange/adapter/ContactsSyncAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/exchange/adapter/ContactsSyncAdapter.java b/src/com/android/exchange/adapter/ContactsSyncAdapter.java index 6cfd68427..ef4e4042a 100644 --- a/src/com/android/exchange/adapter/ContactsSyncAdapter.java +++ b/src/com/android/exchange/adapter/ContactsSyncAdapter.java @@ -1190,7 +1190,7 @@ public class ContactsSyncAdapter extends AbstractSyncAdapter { cvCompareString(cv, StructuredName.PREFIX, prefix) && cvCompareString(cv, StructuredName.PHONETIC_GIVEN_NAME, yomiFirstName) && cvCompareString(cv, StructuredName.PHONETIC_FAMILY_NAME, yomiLastName) && - cvCompareString(cv, StructuredName.DISPLAY_NAME, fileAs) && + //cvCompareString(cv, StructuredName.DISPLAY_NAME, fileAs) && cvCompareString(cv, StructuredName.SUFFIX, suffix)) { return; } @@ -1201,7 +1201,7 @@ public class ContactsSyncAdapter extends AbstractSyncAdapter { builder.withValue(StructuredName.PHONETIC_GIVEN_NAME, yomiFirstName); builder.withValue(StructuredName.PHONETIC_FAMILY_NAME, yomiLastName); builder.withValue(StructuredName.PREFIX, prefix); - builder.withValue(StructuredName.DISPLAY_NAME, fileAs); + //builder.withValue(StructuredName.DISPLAY_NAME, fileAs); add(builder.build()); }