am f05ec923: Update VCardComposer getOwnerPhoneNumberVcard() to support empty vcard for 0.vcf
Merge commit 'f05ec9237ec907be3f2c581a950149435bd585fb' into eclair-mr2-plus-aosp * commit 'f05ec9237ec907be3f2c581a950149435bd585fb': Update VCardComposer getOwnerPhoneNumberVcard() to support empty vcard for 0.vcf
This commit is contained in:
@@ -2378,8 +2378,10 @@ public class VCardComposer {
|
||||
appendVCardLine(builder, Constants.PROPERTY_FN, phoneName, needCharset, false);
|
||||
appendVCardLine(builder, Constants.PROPERTY_N, phoneName, needCharset, false);
|
||||
|
||||
String label = Integer.toString(phonetype);
|
||||
appendVCardTelephoneLine(builder, phonetype, label, phoneNumber, false);
|
||||
if (!TextUtils.isEmpty(phoneNumber)) {
|
||||
String label = Integer.toString(phonetype);
|
||||
appendVCardTelephoneLine(builder, phonetype, label, phoneNumber, false);
|
||||
}
|
||||
|
||||
appendVCardLine(builder, Constants.PROPERTY_END, VCARD_DATA_VCARD);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user