Loading core/java/android/provider/ContactsContract.java +3 −1 Original line number Diff line number Diff line Loading @@ -5957,7 +5957,9 @@ public final class ContactsContract { */ public static final CharSequence getTypeLabel(Resources res, int type, CharSequence label) { if ((type == TYPE_CUSTOM || type == TYPE_ASSISTANT) && !TextUtils.isEmpty(label)) { if (type == TYPE_CUSTOM) { return (label != null ? label : ""); } else if (type == TYPE_ASSISTANT && !TextUtils.isEmpty(label)) { return label; } else { final int labelRes = getTypeLabelResource(type); Loading Loading
core/java/android/provider/ContactsContract.java +3 −1 Original line number Diff line number Diff line Loading @@ -5957,7 +5957,9 @@ public final class ContactsContract { */ public static final CharSequence getTypeLabel(Resources res, int type, CharSequence label) { if ((type == TYPE_CUSTOM || type == TYPE_ASSISTANT) && !TextUtils.isEmpty(label)) { if (type == TYPE_CUSTOM) { return (label != null ? label : ""); } else if (type == TYPE_ASSISTANT && !TextUtils.isEmpty(label)) { return label; } else { final int labelRes = getTypeLabelResource(type); Loading