OSDN Git Service

Remove TYPE_CUSTOM from EAS source.
authorJeff Sharkey <jsharkey@android.com>
Tue, 29 Sep 2009 03:16:37 +0000 (20:16 -0700)
committerJeff Sharkey <jsharkey@android.com>
Tue, 29 Sep 2009 03:16:37 +0000 (20:16 -0700)
Helps fix http://b/2127721

src/com/android/contacts/model/ExchangeSource.java

index 0a7fb23..6d4e357 100644 (file)
@@ -125,8 +125,6 @@ public class ExchangeSource extends FallbackSource {
                     .add(buildPhoneType(Phone.TYPE_RADIO).setSecondary(true).setSpecificMax(1));
             kind.typeList.add(buildPhoneType(Phone.TYPE_ASSISTANT).setSecondary(true)
                     .setSpecificMax(1).setCustomColumn(Phone.LABEL));
-            kind.typeList.add(buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true)
-                    .setSpecificMax(1).setCustomColumn(Phone.LABEL));
 
             kind.fieldList = Lists.newArrayList();
             kind.fieldList.add(new EditField(Phone.NUMBER, R.string.phoneLabelsGroup, FLAGS_PHONE));