Remove Vcard filter for call-logs
Timestamps were being incorrectly filtered out of Vcards when sending
call-logs.
Bug: 25084927
Change-Id: Ied8912e7d2fdbcc6e6980c3773c4ec5a449842ec
diff --git a/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java b/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
index de8275e..748e7a5 100644
--- a/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
+++ b/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
@@ -623,7 +623,6 @@
HandlerForStringBuffer buffer = null;
try {
- VCardFilter vcardfilter = new VCardFilter(ignorefilter ? null : filter);
composer = new BluetoothPbapCallLogComposer(mContext);
buffer = new HandlerForStringBuffer(op, ownerVCard);
if (!composer.init(CallLog.Calls.CONTENT_URI, selection, null, CALLLOG_SORT_ORDER)
@@ -638,9 +637,6 @@
break;
}
String vcard = composer.createOneEntry(vcardType21);
- if (vcard != null) {
- vcard = vcardfilter.apply(vcard, vcardType21);
- }
if (vcard == null) {
Log.e(TAG,
"Failed to read a contact. Error reason: " + composer.getErrorReason());