Merge change I4c05ba1f into eclair
* changes: Update VCardComposer getOwnerPhoneNumberVcard() to support empty vcard for 0.vcf
This commit is contained in:
@@ -414,8 +414,10 @@ public class VCardComposer {
|
||||
appendVCardLine(builder, VCARD_PROPERTY_FULL_NAME, phoneName, needCharset, false);
|
||||
appendVCardLine(builder, VCARD_PROPERTY_NAME, phoneName, needCharset, false);
|
||||
|
||||
String label = Integer.toString(phonetype);
|
||||
appendVCardTelephoneLine(builder, phonetype, label, phoneNumber);
|
||||
if (!TextUtils.isEmpty(phoneNumber)) {
|
||||
String label = Integer.toString(phonetype);
|
||||
appendVCardTelephoneLine(builder, phonetype, label, phoneNumber);
|
||||
}
|
||||
|
||||
appendVCardLine(builder, VCARD_PROPERTY_END, VCARD_DATA_VCARD);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user